我的问题实际上有两个部分。所以我才开始学习python语言并下载了Anaconda。
我的 friend 推荐我使用 Jupyter,因为它对初学者来说相对容易使用。
1)他让我先打字
'conda 升级 jupyter' 在 Anaconda 提示中(顺便说一句,我使用的是 Python 2.7)
然后我就可以通过输入以下内容来运行 Jupyter:
'jupyter'
但是,提示只给了我:
**(C:\Users\Kester\Anaconda2) C:\Users\Kester>jupyter
usage: jupyter-script.py [-h] [--version] [--config-dir] [--data-dir]
[--runtime-dir] [--paths] [--json]
[subcommand]
jupyter-script.py: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required**
所以我使用第二种方法来运行Jupyter
我输入“jupyter notebook”来打开 Jupyter。
2) 但是这次我遇到了另一个问题,那就是只有 Python[root] 创建新笔记本时可用。另一方面,终端也无法访问。
Unaccessible Terminal and Python [root] only
我尝试了删除jupyter文件夹下的nbsignature文件的方法。但这根本行不通。
请问有什么帮助吗?
最佳答案
你只需要在终端输入:
jupyter notebook
关于python-2.7 - Jupyter notebook 只能在 python [root] 中运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38128291/