After installing with pip install jupyter
, terminal still cannot find jupyter notebook
.
Ubuntu simply says command not found
On Mac Os High Sierra, I installed jupyter with
python3 -m pip install jupyter
And then, binary were installed in:
/Library/Frameworks/Python.framework/Versions/3.6/bin/jupyter-notebook
if you are in a virtual environment, just run this:
conda install jupyter
Now in the year of 2020.
fix this issue by my side with mac:
pip install jupyterlab
instead pip install jupyter
.
there will be an warning before successfully installed keywords:
enter image description here
you can see the path with jupyterlab then you just need to start jupyter notebook by following in path:
jupyter-lab
notebook will automatic loaded by your default browser.
Here what I did on Linux mint 19:
I installed jupyter with:
pip install jupyter
and command:
jupyter notebook
didn't work, so with:
sudo apt install jupyter-notebook
I fixed the issue, jupyter notebook
worked then.
Most generally (in case of jupyter not being in /local/bin) use,
which jupyter
Example output
~/miniconda3/bin/jupyter
to see the path for jupyter, then explicitly use that path with sudo
sudo ~/miniconda3/bin/jupyter
On Mac OS you need to export ~/.local/bin
inside your $PATH
variable.
# Edit the bash profile:
$ vim ~/.bash_profile
# Add this line inside ~/.bash_profile:
export PATH=$PATH:~/.local/bin
# Update the source:
$ source ~/.bash_profile
# Open Jupyter:
$ jupyter notebook