Spyder Kernels

3.1.4 · active · verified Fri Apr 17

Spyder-kernels provides the Jupyter kernels required for Spyder's console to run Python code. It enables Spyder to execute code in separate environments, ensuring isolation and flexibility for different projects. The current version is 3.1.4 and it typically releases new versions in sync with major Spyder IDE updates.

Common errors

Warnings

Install

Quickstart

To use spyder-kernels, simply install it in the Python environment you wish Spyder to interact with. Once installed, launch Spyder and select that environment as your console's interpreter (e.g., via `Tools > Preferences > Python interpreter`). Then, execute code directly in the IPython console.

import sys
print(f"Hello from Spyder kernel!\nPython version: {sys.version}")
# This code would be run directly in the Spyder IDE's console.

view raw JSON →