Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Command line 视窗';朱庇特';未被识别为内部或外部命令、可操作程序或批处理文件_Command Line_Jupyter Notebook - Fatal编程技术网

Command line 视窗';朱庇特';未被识别为内部或外部命令、可操作程序或批处理文件

Command line 视窗';朱庇特';未被识别为内部或外部命令、可操作程序或批处理文件,command-line,jupyter-notebook,Command Line,Jupyter Notebook,我在Windows命令行上。 我通过PIP3安装了Jupyter。 我得到了这个错误,我怀疑它的路径 'jupyter' is not recognized as an internal or external command, operable program or batch file. 但是当我跑的时候 where jupyter 它返回: INFO: Could not find files for the given pattern(s). 这是否意味着Jupyter没有正确下载

我在Windows命令行上。 我通过PIP3安装了Jupyter。 我得到了这个错误,我怀疑它的路径

'jupyter' is not recognized as an internal or external command,
operable program or batch file.
但是当我跑的时候

where jupyter
它返回:

INFO: Could not find files for the given pattern(s).

这是否意味着Jupyter没有正确下载?因为当使用pip3命令时,它看起来很好

我对Python也是新手,但这就是我发现的

尝试使用Anaconda安装,选中将Anaconda添加到我的路径环境变量

原因是如果未选中,或者如果使用PIP3,则不会自动添加路径


您也可以选择在Setting-Environment Variables中手动添加路径

可能有两个原因:

Windows中未安装Anaconda。
  • 安装它
环境变量中未设置蟒蛇的路径。 打开Anaconda命令提示符,搜索“
where conda”

结果:

C:\Users\<loremipsm>\AppData\Local\Continuum\anaconda2\Library\bin\conda.bat
C:\Users\<loremipsum>\AppData\Local\Continuum\anaconda2\Scripts\conda.exe
C:\Users\\AppData\Local\Continuum\anaconda2\Library\bin\conda.bat
C:\Users\\AppData\Local\Continuum\anaconda2\Scripts\conda.exe
使用:路径为“C:\Users\\AppData\Local\Continuum\anaconda2\Scripts”


**Path是一个示例,使用您自己的。

您需要在环境变量中添加安装了Anaconda的Path。 就我而言是 C:\Users\zahid\AppData\Local\Continuum\anaconda3\Library\bin
C:\Users\zahid\AppData\Local\Continuum\anaconda3\Scripts

安装Anaconda时,请确保选中复选框以添加到env的路径。这对我有用

就连我也被同样的问题绊倒了

我所做的是使用命令“where jupyter”在Anaconda提示符中搜索jupyter路径

之后我找到了一条路

然后我转到我的环境变量(当你搜索相同的变量时,你会得到这个东西),然后在那里指定新的路径。
问题解决了

转到开始并搜索Anaconda Navigator

启动该计划

然后在主页部分,你们会看到Jupyter笔记本,然后点击Launch


希望这有助于

使用命令
py-m notebook
,问题就解决了。

问题是路径上没有识别到我的python环境变量,因此我编辑了路径以包含python。仍然不确定为什么它没有被识别。欢迎来到StackOverflow!这个问题已经有好几个答案,有很好的例子和描述。你们有一个稍微不同的问题(也就是说,哪里为你们提供了路径,但并没有为OP提供路径)。如果您认为您的答案可能比其他人更好,请添加额外的解释和示例