简体   繁体   中英

Can't launch Jupyter Notebook from the command line in Windows 7

On a Windows 7 machine, I installed Python 3.8.5, pip using the get-pip.py installation script from here , and Jupypter Lab + Jupyter Notebook following the instructions here . When trying to launch Jupyter Notebook, I get the following error message:

C:\jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.

What is the problem? I verified that both Python and pip was successfully installed by launching the Python console and doing pip -V .

https://jupyter.org/install is general installation instructions, but assume some familiarity with Python, pip, and system execution path searching.

You need to add the location where pip installed jupyter to you system PATH environment variable.

To test this theory, try seeing if you have jupyter.exe in a folder similar to C:\Program Files\Python38\Scripts .

Answers toquestions like this one , explain ways to edit the PATH variable.

Screenshot example of editing user's PATH: 编辑用户路径的截图示例

I don't know the exact condition but try this..

"jupyter notebook"

and if it doesn't work then you might want to add installation location to your environment variables.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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