jupyter notebook installation issue using pip
Because pip uses the legacy Python 2. Use pip3 to install:
pip3 install --upgrade pip
pip3 install jupyter
jupyter notebook #to start jupyter notebook
I highly recommend installing Anaconda. Download Anaconda here.
Then use :
bash
to install it.
Good Luck.
Related videos on Youtube
James Wonder
Updated on April 25, 2021Comments
-
James Wonder almost 3 years
I had a problem with jupyter notebook. Every time I started a notebook, kernel died.
So, I decided to uninstall jupyter notebook using pip:
pip uninstall jupyter notebook
After successful uninstallation, I installed again, using same pip:
pip install jupyter notebook
Then, as usually, I typed in cmd:
jupyter notebook
But got this error:
'jupyter' is not recognized as an internal or external command, operable program or batch file.
So I checked the location of IPython, and found out that now the right file, which I want to call is jupyter-notebook, which different from jupyter notebook by dash sign. If I run jupyter-notebook from cmd everything works.
Can anyone explain, what happened and why the file now called jupyter-notebook?
Thank You
-
James Wonder about 6 years@SuatAtanPhD same result. I am just curious of why the syntax changed.
-
-
akaur about 4 yearsjust an addition, if you are trying to re-install jupyter notebook, please make sure to uninstall it first
pip3 uninstall jupyter notebook
. Thenpip3 install jupyter notebook
. This worked for me for the latest versions.