简体   繁体   English

安装 jupyter notebook 显示找不到命令

[英]Installing jupyter notebook shows command not found

Im trying to install jupyter notebook but when I run jupyter/jupyter-notebook/jupyter notebook It shows command not found.我正在尝试安装 jupyter 笔记本,但是当我运行 jupyter/jupyter-notebook/jupyter notebook 时,它显示找不到命令。 I'm using python 3.7 and have tried all commands like:我正在使用 python 3.7 并尝试了所有命令,例如:

pip install jupyter              
pip3 install jupyter
python -m pip install jupter notebook
pip install --user jupyter
sudo pip install jupyter

enter image description here在此处输入图像描述

It shows an exception error I don't know why?它显示异常错误我不知道为什么?

Are you using cmd to install?你是用cmd安装的吗? If yes, then you want to install the classic Jupyter Notebook using:如果是,那么您想使用以下方式安装经典的 Jupyter Notebook:

pip install notebook

Then, you can run with:然后,您可以运行:

jupyter notebook
jupyter-notebook
py -m jupyter notebook
py -m jupyter-notebook
python -m jupyter notebook
python -m jupyter-notebook

That works fine for me.这对我来说很好。 Tell me if you still have problems.如果您还有问题,请告诉我。

Im trying to install jupyter notebook but when I run jupyter/jupyter-notebook/jupyter notebook It shows command not found.我正在尝试安装 jupyter notebook,但是当我运行 jupyter/jupyter-notebook/jupyter notebook 时,它显示找不到命令。 I'm using python 3.7 and have tried all commands like:我正在使用 python 3.7 并尝试了所有命令,例如:

pip install jupyter              
pip3 install jupyter
python -m pip install jupter notebook
pip install --user jupyter
sudo pip install jupyter

enter image description here在此处输入图像描述

It shows an exception error I don't know why?它显示一个异常错误我不知道为什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM