简体   繁体   中英

'jupyter' is not recognized as an internal or external command, operable program or batch file

When I type jupyter notebook in cmd I get the following error:

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

whereas when I type jupyter-notebook it successfully opens the notebook.

Why am I facing this error? (I have jupyter installed and I was able to open the notebook for the very first time after installation with jupyter notebook command but not from second times ownwards)

Please try this command; first

$ py -m notebook

Otherwise

$ python -m pip install jupyter --user
$ jupyter notebook

Instead of using command prompt , You can use Anaconda prompt (Anaconda) to open your jupyter notebook

在此处输入图像描述

jupyter notebook command will work in anaconda prompt

1.Open cmd.

2.Type: pip install jupyter notebook, Use pip install jupyter .

3.Now Type: python -m notebook .

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