"Failed to find a kernel to run the code. Please install the Jupyter extension"
Jupyter cannot find any kernel, or even the Python extension.
How to fix "Failed to install the python extension" despite python program being installed.
VSCode suddenly unable to find or start python jupyter kernels
Videos
I got the same error message because the jupyter package was missing in my selected environment.
pip install jupyter
resolved the problem for me.
From the official VS Code documentation:
To work with Python in Jupyter Notebooks, you must activate an Anaconda environment in VS Code, or another Python environment in which you've installed the Jupyter package.
Could you try to reinstall the pyzmq module?
pip uninstall pyzmq
pip install pyzmq==19.0.2
The version number may be different depending on the jupyter-client version.
Hello Everybody!
I am using VS Code to program in python / sympy, which works no problem. However, when I shut down VS Code and turn it back on, there are no kernels to select from. VS Code recommends me to install python, but I already have it installed.
I have tried many different approaches with the help of ChatGPT, but the only solution I have found to work is to completely delete everything VS Code from my computer and redownload it. But this approach just isn't viable if I have to do it every time I want to code.
Any help is greatly appreciated!