Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.3K
Views
jupyter server : not started, no kernel in vs code

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

Error: Jupyter cannot be started. Error attempting to locate jupyter:
at A.startServer (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:784356)
at async A.ensureServerAndNotebookImpl (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:783811)
at async A.ensureServerAndNotebook (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:783612)
at async A.submitCode (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:780564)
at async A.reexecuteCell (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:75:879318)

status of jupyter notebook

how to resolve this issue ?

over 4 years ago · Santiago Trujillo
11 answers
Answer question

0

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.

over 4 years ago · Santiago Trujillo Report

0

  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.

over 4 years ago · Santiago Trujillo Report

0

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

over 4 years ago · Santiago Trujillo Report

0

I tried the following:

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

Hope this answer was helpful.

over 4 years ago · Santiago Trujillo Report

0

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 enter image description here

Then, select the version under the Visual Studio Code enter image description here

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.

enter image description here

over 4 years ago · Santiago Trujillo Report

0

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.

over 4 years ago · Santiago Trujillo Report

0

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!

over 4 years ago · Santiago Trujillo Report

0

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!

over 4 years ago · Santiago Trujillo Report

0

just fix this by add

"python.terminal.activateEnvironment": false,

to settings.json

hopes this help.

over 4 years ago · Santiago Trujillo Report

0

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

over 4 years ago · Santiago Trujillo Report

0

just had the same issue and it did not help to update the interpreter within vscode. What helped was: Check your dependencies within pip! It seems that new dependencies came up with the latest update of python, which are not installed. For me this was pygments:

jupyter-console 6.2.0 requires pygments, which is not installed.

Linux solution step-by-step:

xyz@xyz-pc-ubuntu:~$ pip3 check
qtconsole 4.7.6 requires pygments, which is not installed.
nbconvert 5.6.1 requires pygments, which is not installed.
jupyter-console 6.2.0 requires pygments, which is not installed.
ipython 7.18.1 requires pygments, which is not installed.

xyz@xyz-pc-ubuntu:~$ pip3 install pygments
Successfully installed pygments-2.7.2

Afterwards, jupyter found the updated python interpreter automatically.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!