I have been trying to work with a jupyter notebook inside vscode, but when I create it the right kernel appears for like 10 seconds and then it disappears. When I try to check it in the kernels' list I cannot find it. How to solve this problem? Many thanks
I have tried multiple times to select the kernel but it is not listed.This problem started yesterday when I download the version 3.11 of python, now it is not even able to find the version I was using before (3.10.2).
CodePudding user response:
- In VSCode navigate to extensions, search for Jupyter and install it. Link is Jupyter
- Run command prompt as administrator and execute
python -m pip install jupyter
- Restart VSCode and in the command palette search for Jupyter. You should see an option to select default interpreter, point to your python executable. If you see more than 1 interpreter there then select the one that jupyter is installed in (from 2)
These should hopefully help, but if not then check if python and python/scripts are correctly set up in PATH