Windows 7 中无法从命令行启动 Jupyter Notebook
Can't launch Jupyter Notebook from the command line in Windows 7
在 Windows 7 机器上,我使用 here, and Jupypter Lab + Jupyter Notebook following the instructions here 中的 get-pip.py
安装脚本安装了 Python 3.8.5、pip
。尝试启动 Jupyter Notebook 时,我收到以下错误消息:
C:\jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.
有什么问题?我通过启动 Python 控制台并执行 pip -V
.
验证了 Python 和 pip
都已成功安装
https://jupyter.org/install 是一般安装说明,但假设您熟悉 Python、pip 和系统执行路径搜索。
你需要将pip安装jupyter的位置添加到你的系统PATH
环境变量中。
要验证这个理论,请尝试查看您在类似于 C:\Program Files\Python38\Scripts
的文件夹中是否有 jupyter.exe。
questions like this one 的答案,解释编辑 PATH
变量的方法。
修改用户路径截图示例:
我不知道确切的条件,但试试这个..
"jupyter notebook"
如果它不起作用,那么您可能需要将安装位置添加到您的环境变量中。
在 Windows 7 机器上,我使用 here, and Jupypter Lab + Jupyter Notebook following the instructions here 中的 get-pip.py
安装脚本安装了 Python 3.8.5、pip
。尝试启动 Jupyter Notebook 时,我收到以下错误消息:
C:\jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.
有什么问题?我通过启动 Python 控制台并执行 pip -V
.
pip
都已成功安装
https://jupyter.org/install 是一般安装说明,但假设您熟悉 Python、pip 和系统执行路径搜索。
你需要将pip安装jupyter的位置添加到你的系统PATH
环境变量中。
要验证这个理论,请尝试查看您在类似于 C:\Program Files\Python38\Scripts
的文件夹中是否有 jupyter.exe。
questions like this one 的答案,解释编辑 PATH
变量的方法。
修改用户路径截图示例:
我不知道确切的条件,但试试这个..
"jupyter notebook"
如果它不起作用,那么您可能需要将安装位置添加到您的环境变量中。