问题
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