繁体   English   中英

python 'jupyter' 未被识别为内部或外部命令

[英]python 'jupyter' is not recognized as an internal or external command

我正在尝试使用 python 中的 jupyter 命令,我尝试卸载并安装 jupyter 但这不起作用。 IE

!jupyter nbconvert --to script test.ipynb

或者

!jupyter nbextension enable 

错误是:

'jupyter' 不是内部或外部命令、可运行程序或批处理文件。

我正在使用 window 10.我的 juypter 笔记本正在工作但是要打开 juypter 笔记本我在终端中编写了"python -m notebook"代码。 "Jupyter notebook"不打开任何东西并显示以下错误:

jupyter:术语“jupyter”未被识别为 cmdlet、function、脚本文件或可运行程序的名称。 检查名称的拼写,或者如果包含路径,请验证路径是否正确并重试。 在 line:1 char:1 + jupyter notebook +rest part of error: + CategoryInfo: ObjectNotFound: (jupyter:String) [], CommandNotFoundException + FullyQualifiedErrorId: CommandNotFoundException

您需要将 Jupyter 添加到您的路径中,您可以做的另一件事是安装 Anaconda 并为您完成所有工作,您只需从 windows 搜索栏打开一个 Jupyter。

箭头,

我多次安装了 Anaconda,当我尝试从 Anaconda Navigator 运行时,仍然得到“退出代码:1”。

在这一切发生之前,我正在关注 Jose Portilla 的教程(来自 Udemy)关于如何通过 AWS 运行 Ubuntu。

也许它与这个 http://localhost:8888 有关?

我正在运行 Windows 10。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM