我一直在跟踪Scikit Learn和TensorFlow书籍的实际操作机器学习。我遵循了所有命令,但每次尝试运行$jupyter notebook
我收到以下错误:
"Error executing Jupyter command 'notebook': [Errno 2] No such file or directory"
以下是迄今为止我运行的所有命令的列表:
$sudo apt-get install python-setuptools
$sudo easy_install pip==9.0.1
$sudo pip install virtualenv
$pip3 install --user --upgrade virtualenv
$source env/bin/activate
$pip3 install --upgrade jupyter matplotlib numpy pandas scipy scikit-learn
$sudo pip install jupyter
$pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
$pip install notebook
正如你所看到的,我已经试了很多次,但还是不起作用。我用的是Windows10和UbuntuShell(bash)。我也安装了水蟒,但它在我的D:驱动器,而不是C:驱动器。会是这样吗?任何帮助都将不胜感激。谢谢。在
编辑:我已经在我的C盘上重新安装了Python,并重新启动了我的电脑,但它仍然不能工作。在
我也面临类似的问题。这是我修复这个问题的方法(在Ubuntu 16.04上):
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
(或pip3,取决于python版本)ipython似乎是问题所在,因此删除它就解决了这个问题。在
我现在可以运行
jupyter notebook
相关问题 更多 >
编程相关推荐