After installing with pip install jupyter
, terminal still cannot find jupyter notebook
.
Ubuntu simply says command not found
Execute this in Terminal
export PATH=~/anaconda3/bin:$PATH
Worked for me on Ubuntu 16.10, Python3, Anaconda3
UPDATE
Add path in your ~/.bashrc or ~/.zshrc(if you are using zsh bash) file
vi ~/.bashrc
add the below line to the file
PATH=~/path/to/anaconda:$PATH
Close the file with
esc + : + wq
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.
If jupyter run by this command:
~/.local/bin/jupyter-notebook
simply run this command in terminal
export PATH=~/.local/bin:$PATH
pip install --user --upgrade jupyter
Using the above command should do the job in Ubuntu 18.04
If it doesn't, follow the steps from here
I'm on Mojave with Python 2.7 and after pip install --user jupyter
the binary went here:
/Users/me/Library/Python//2.7/bin/jupyter
Try "pip3 install jupyter", instead of pip. It worked for me.