Exception: Jupyter command `jupyter-notebook` not found, windows

柔情痞子 提交于 2021-01-07 03:46:44

问题


So after installing VSCode and Python 3.7.4 (64 bit) I really struggle to make the "python interactive" work.

I have installed the Python extension in VScode, also jupyter and jupyter-lab but I keep getting the error "Exception: Jupyter command jupyter-notebook not found." when I try to run a cell/a line.

I am running Windows 10, using pip3


回答1:


What did the trick was, that a few packages were outdated.

Firstly I had to uninstall pyzmq and install it again.

Then I ran pip3 install --upgrade nbconvert.

I also did pip install --upgrade pywin32==224 but I think the upper two solved the problem.

Lesson learned: Never use conda/pip together!




回答2:


I believe you have to install anaconda first and start your notebook from an anaconda terminal.



来源:https://stackoverflow.com/questions/59147353/exception-jupyter-command-jupyter-notebook-not-found-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!