我已经安装了这两个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
我必须执行一些路径技巧才能使它工作吗?
发布于 2020-03-13 23:58:56
我也遇到过类似的问题。这是我为解决这个问题所做的(在Ubuntu上):
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
ipython似乎是问题所在,因此删除它就解决了这个问题。
https://stackoverflow.com/questions/60673454
复制相似问题