Dav*_*hen 84 python-3.x jupyter-notebook
当我jupyter notebook在Arch Linux中的虚拟环境中执行时,发生以下错误.
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
我的python版本是3.6,而我的jupyter版本是4.3.0
我搜索了很多,但我找不到与此问题相关的任何内容.
提前致谢.
Lou*_*ies 133
在我看来,好像安装已经搞砸了.试试跑步:
# For Python 2
pip install --upgrade --force-reinstall --no-cache-dir jupyter
# For Python 3
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
Run Code Online (Sandbox Code Playgroud)
这应该从PyPi重新安装所有东西.这应该解决问题,因为我认为运行pip install "ipython[notebook]"搞砸了.
Nic*_*aro 40
对我来说,问题是命令在安装后jupyter notebook更改为jupyter-notebook.
sid*_*hrc 19
试试这个命令: python -m IPython notebook
向GitHub用户Milannju致信,他们在这里提供了解决方案.
Tha*_*orn 14
这对我有用.(Ubuntu 18.04 LTS上的Python 3.6)
export PATH=$PATH:~/.local/bin/
Run Code Online (Sandbox Code Playgroud)
小智 8
在Ubuntu 18.10上,以下命令帮助了我。
sudo apt-get install jupyter-notebook
Run Code Online (Sandbox Code Playgroud)
使用下面的命令,如果您使用的是 pip3,请将 pip 替换为 pip3
pip install --upgrade --force-reinstall jupyter
Run Code Online (Sandbox Code Playgroud)
这对我有用。
由于 pip 和 pip3.6 都已安装并且
pip install --upgrade --force-reinstall jupyter
失败,所以我使用
pip3.6 install --upgrade --force-reinstall jupyter
这对我有用。jupyter notebook安装后运行也有效。