jupyter server : not started, no kernel in vs code

后端 未结 10 1161
日久生厌
日久生厌 2021-02-13 00:49

i am trying to use jupyter notebooks from vs code and installed jupyter notebook extension and i am using (base)conda environment for execution. while this happened

Erro

相关标签:
10条回答
  • 2021-02-13 01:08
    1. Press Command+Shift+P on mac, Ctrl+Shift+p on windows

    2. Type Python: Select Interpreter to start Jupyterserver

    3. It would show you a dropdown of python versions installed.

    4. I chose python 3.7.5 and it worked for me you can choose the python version installed on your machine.

    0 讨论(0)
  • 2021-02-13 01:10

    I faced the same problem and this solved my problem https://www.reddit.com/r/vscode/comments/eq2bfv/vs_code_jupyter_server_no_kernel_python_not/ hope this helps

    0 讨论(0)
  • 2021-02-13 01:11

    I have several versions of Python installed. It happened the same thing to me and I have fixed it this way. Ctrl+Shift+p and select Python: Select Interpreter to start Jupyter server

    Then, select the version under the Visual Studio Code

    Nothing will happen and then press again Ctrl+Shift+p and select Python: Create new blank Jupyter Notebook. And it works

    I have even set the Python version to 3.8 at the bottom and it worked too with the new features print(a:=4) despite the fact that the version I have chosen was 3.7.5. Nevertheless, I have to lunch VS Code from Anaconda Navigator.

    0 讨论(0)
  • 2021-02-13 01:17

    I have seen all possible solutions but not work, finally I just upgrade jupyter,notebook,and jupyterlab,like pip3 install -U jupyterlab, and I can choose the kernel in VScode!

    0 讨论(0)
  • 2021-02-13 01:22

    I tried the following:

    1. Press Command + SHIFT + P
    2. Type Python: Select Interpreter to start Jupyterserver

    Hope this answer was helpful.

    0 讨论(0)
  • 2021-02-13 01:24

    I installed anaconda and selected python kernal came with that as my interpreter (ctrl + shift + p) that solved my issue.

    0 讨论(0)
提交回复
热议问题