我正在Ubuntu18.04上运行jupyter笔记本。安装后,由:
sudo apt-get install python3-notebook jupyter-core python-ipykernel
sudo apt-get install python3-dev
sudo apt-get install python-dev
pip3 install jupyter
jupyter notebook --generate-config通过运行jupyter notebook,它似乎可以很好地工作,但是在重新启动之后,系统会返回以下错误:
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
朱庇特似乎通过运行以下命令来工作:
python3 -m IPython notebook
但是我想用命令jupyter notebook来解决这个问题。
关于我的朱庇特的更多信息:
在pip3 list | grep jupyter之后:
jupyter (1.0.0)
jupyter-client (5.2.3)
jupyter-console (5.2.0)
jupyter-contrib-core (0.3.3)
jupyter-contrib-nbextensions (0.5.0)
jupyter-core (4.4.0)
jupyter-highlight-selected-word (0.2.0)
jupyter-latex-envs (1.4.4)
jupyter-nbextensions-configurator (0.4.0)在pip3 list | grep ipy之后:
ipykernel (4.8.2)
ipython (6.5.0)
ipython-genutils (0.2.0)在jupyter --paths之后:
config:
/home/ale/.jupyter
/usr/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/home/ale/.local/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/run/user/1000/jupyter发布于 2018-08-29 10:25:35
显然,我的PATH变量在某种程度上被搞砸了,因为它没有正确地引用./local/bin目录。
发布于 2020-06-25 08:42:18
同样的问题我也面临因为路径,使用export PATH=$PATH:~/.local/bin/它将解决您的问题
https://askubuntu.com/questions/1069380
复制相似问题