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:UsersDELL.vscodeextensionsms-python.python-2020.2.63990outclientextension.js:1:784356) at async A.ensureServerAndNotebookImpl (c:UsersDELL.vscodeextensionsms-python.python-2020.2.63990outclientextension.js:1:783811) at async A.ensureServerAndNotebook (c:UsersDELL.vscodeextensionsms-python.python-2020.2.63990outclientextension.js:1:783612) at async A.submitCode (c:UsersDELL.vscodeextensionsms-python.python-2020.2.63990outclientextension.js:1:780564) at async A.reexecuteCell (c:UsersDELL.vscodeextensionsms-python.python-2020.2.63990outclientextension.js:75:879318)
how to resolve this issue ?
Advertisement
Answer
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.