我在设置 Jupyter Notebook 时遇到了一些问题。我已经多次阅读文档,但仍然没有让它工作。我在我的 Windows 7(和我的另一台计算机上的 10 - 有同样的问题)工作站上运行 Anaconda。我无法轻松打开 Jupyter Notebooks。我在 cmd 提示符下尝试了以下操作:ipython notebook
, jupyter notebook
, jupyter-notebook
, ipython
, 和 jupyter
我得到 'XXXXXX' is not recognized as an internal or external command
.我可以 cd
进入 C:\Anaconda3\Scripts
然后运行 jupyter notebook
它有效。这有两个问题:首先,它是一个创可贴,只是掩盖了一个潜在的问题,其次它打开了 C:\Anaconda3\Scripts
我无法导航到我的 .ipynb
的位置文件是。我没有 IPython Notebook 启动器图标可以按照以下说明更改为目录:
• Copy the IPython Notebook launcher from the menu to the desktop.
• Right click on the new launcher and change the “Start in” field by pasting the full path of the folder which will contain all the notebooks.
我也安装了 spyder,它似乎运行良好。在我的
C:\Anaconda3\Scripts
文件夹,我看到了我所期望的一切:ipython.exe
, jupyter.exe
, jupyter-notebook.exe
,以及更多。我的路径变量包含我在网上看到的所有建议:C:\Anaconda3;C:\Anaconda3\Scripts;C:\Anaconda3\Library\bin
这些是从安装中自动添加的,所以我认为没有错别字。您的任何想法将不胜感激。谢谢!
最佳答案
我只需要重新启动计算机。那解决了一切。
关于jupyter-notebook - 无法设置 Jupyter Notebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35033405/