【发布时间】:2018-06-29 06:15:37
【问题描述】:
我在使用 jupyter 笔记本时遇到了问题。每次我启动笔记本时,内核都会死掉。
所以,我决定使用 pip 卸载 jupyter notebook:
pip uninstall jupyter notebook
卸载成功后,我再次安装,使用相同的pip:
pip install jupyter notebook
然后,像往常一样,我输入了 cmd:
jupyter notebook
但是得到了这个错误:
'jupyter' 未被识别为内部或外部命令, 可运行的程序或批处理文件。
所以我检查了 IPython 的位置,发现现在我要调用的正确文件是 jupyter-notebook,它与 jupyter notebook 不同破折号。如果我从 cmd 运行 jupyter-notebook 一切正常。
谁能解释一下,发生了什么以及为什么该文件现在称为 jupyter-notebook?
谢谢
【问题讨论】:
-
@SuatAtanPhD 结果相同。我只是好奇为什么语法会改变。
标签: python path jupyter-notebook