安装Jupyter Notebook显示找不到命令

时间:2020-08-18 09:07:08

标签: python jupyter-notebook

我正在尝试安装jupyter笔记本,但是当我运行jupyter / jupyter-notebook / jupyter笔记本时,它显示未找到命令。我正在使用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

它显示一个异常错误,我不知道为什么?

1 个答案:

答案 0 :(得分:-1)

类似的问题已经由Benn Malengier回答,请在此处检查-> After installing with pip, "jupyter: command not found"

您没有注销并登录?它应该在您执行的路径上。如果没有,请在.local中pip安装可执行文件,因此在终端中:

 ~/.local/bin/jupyter-notebook

应该启动笔记本