今天用powershell在打开JupterLab的时候突然报错,所有在网上查了一些相关的资料,最后解决了,所以想和大家分享一下,怎么解决。
jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Che ck the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + jupyter lab +
解决方案
原因是win高级系统设置path里缺少环境变量,只需要在你安装的Anaconda下把这三个路径找到然后配置到path环境变量里就行。
1、找到你安装的环境路径,先复制路径在一个编辑器里,一会好快速配置
#Anaconda的安装目录路径
D:\Workspace\Software\Anaconda3
D:\Workspace\Anaconda3\Scripts
D:\Workspace\Anaconda3\Library\bin
2、配置环境路径
向系统环境Path环境变量中添加以下三个路径:
D:\Workspace\Software\Anaconda3
D:\Workspace\Anaconda3\Scripts
D:\Workspace\Anaconda3\Library\bin