在Windows 7计算机上,我按照{{3}的说明使用here中的pip
安装脚本安装了Python 3.8.5,get-pip.py
,并安装了Jupypter Lab + Jupyter Notebook }。尝试启动Jupyter Notebook时,出现以下错误消息:
C:\jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.
出什么问题了?我通过启动Python控制台并执行pip
来验证Python和pip -V
是否已成功安装。
答案 0 :(得分:0)
https://jupyter.org/install是常规安装说明,但假设您熟悉Python,pip和系统执行路径搜索。
您需要将pip安装jupyter的位置添加到系统PATH
环境变量中。
要检验该理论,请尝试查看与C:\Program Files\Python38\Scripts
类似的文件夹中是否有jupyter.exe。
回答questions like this one,说明编辑PATH
变量的方法。
答案 1 :(得分:0)
我不知道具体情况,但是尝试一下。
"jupyter notebook"
,如果它不起作用,则可能要向环境变量中添加安装位置。