After installing with pip install jupyter
, terminal still cannot find jupyter notebook
.
Ubuntu simply says command not found
. Similar with ipython
. Did pip
not get install properly or something? How does Ubuntu know where to look for executables installed with pip
?
If you installed Jupyter notebook for Python 2 using 'pip' instead of 'pip3' it might work to run:
Try "pip3 install jupyter", instead of pip. It worked for me.
On Mac Os High Sierra, I installed jupyter with
And then, binary were installed in:
Open a terminal window using Ctrl+Alt+T.
Run the command gedit ~/.profile.
Add the line. export PATH=$PATH:/.local/bin/jupyter-notebook. to the bottom and save.
Log out and log in again.
Hopefully this will work.
I had to run "rehash" and then it was able to find the jupyter command
Most generally (in case of jupyter not being in /local/bin) use,
Example output
to see the path for jupyter, then explicitly use that path with sudo