简体   繁体   中英

python 'jupyter' is not recognized as an internal or external command

I is trying to use jupyter command from python, I tried uninstall and install jupyter but this is not working. ie

!jupyter nbconvert --to script test.ipynb

or

!jupyter nbextension enable 

error is:

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

I am using window 10.My juypter notebook is working however to open juypter notebook I write "python -m notebook" code in terminal. "Jupyter notebook" don't open anything and show the following error:

jupyter: The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check 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 notebook +rest part of error: + CategoryInfo: ObjectNotFound: (jupyter:String) [], CommandNotFoundException + FullyQualifiedErrorId: CommandNotFoundException

You need to add Jupyter to your path, another thing you can do is install Anaconda and that does all the work for you, and you just open a Jupyter from the windows search bar.

Arrows,

I installed Anaconda multiple times and I still get 'Exit Code: 1' when I try to run from Anaconda Navigator.

I was following Jose Portilla's tutorial (from Udemy) on how to run Ubuntu through AWS before all this happened.

Maybe it has to do with this http://localhost:8888?

I'm running Windows 10.

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