jupyter server : not started, no kernel in vs code

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

提交回复
热议问题