jupyter server : not started, no kernel in vs code

后端 未结 10 1184
日久生厌
日久生厌 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:25

    I had exactly the same problem when I installed Visual Studio Code and tried to run some Python code from a jupyter notebook on my fresh Ubuntu 18.04.

    How I solved it:

    1) Press Command+Shift+P to open a new command pallete

    2) Type >Python: Select Intepreter to start jupyter notebook server

    3) Open the notebook again

    And it worked fine. Hope it works for you.

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

    Making sure that in VS Code settings.json

    "python.condaPath": "C:\\Program Files\\miniconda3\\Scripts\\conda.exe"

    is pointing to the correct directory. It solved it for me.

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

    just fix this by add

    "python.terminal.activateEnvironment": false,

    to settings.json

    hopes this help.

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

    In my case, I had the server working in 3.7.6, but i wanted to use >3.8.0 versions too. After multiple attempts, which failed, I decided to:

    1. Uninstall 3.8.5, and delete the folder in the installation directory.
    2. Uninstall VSCode too.
    3. Restart the PC, and re-install Python and VSCode. As a result, the Jupyter server initiated based on the latest version of Python automatically.

    I hope this helps too! Cheers!

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