![](/img/trans.png)
[英]Can't import the installed package in Python3 environment of jupyter notebook
[英]Can't run Jupyter Notebook within Python environment on Ubuntu
我已经安装了 Anaconda 并创建了一个名为Python3
的虚拟 Python3 环境。 在我激活环境之前,我可以运行jupyter notebook
并打开 Jupyter。 但是如果我激活环境然后运行:
$source activate Python3
$jupyter notebook
我会得到一个No such file or directory
错误,它指示我使用sudo apt install jupyter
。 我这样做了,但现在我得到:
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
我是否必须执行一些 PATH 技巧才能完成这项工作?
我遇到了类似的问题。 这就是我为解决这个问题所做的(在Ubuntu 上):
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
ipython似乎是问题所在,因此删除它可以解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.