简体   繁体   中英

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

I have recently degraded my python from 3.10 to 3.9 as few of the libraries were not working, specifically I was facing issue with jupyter installation. However since degradation of my python my jupyter command is not working as an example: I am trying to convert my .ipynb file in .py with following code.

!jupyter nbconvert --to script 'test.ipynb'
or jupyter nbconvert --to script 'test.ipynb'

or trying to enable nbextension with following code

!jupyter nbextension enable 
or !jupyter nbextension enable 

I am getting an error which says:

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

I have installed,

pip install jupyter
pip install jupyter notebook

not sure what else it is looking for. I am able to open my jupyter notebook and work. No problem there. Any suggestion will be appreciated, thank you in advance.

A better way to install Jupyter Notebook:

  1. First, uninstall jupyter by pip uninstall jupyter .
  2. Then, install jupyter through pip install --upgrade jupyter ipython .

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