Skip to content

Instantly share code, notes, and snippets.

@paneru-rajan
Last active March 2, 2019 18:43
Show Gist options
  • Save paneru-rajan/de8e4d16498e3c971319a3880a14474f to your computer and use it in GitHub Desktop.
Save paneru-rajan/de8e4d16498e3c971319a3880a14474f to your computer and use it in GitHub Desktop.
[Installation of jupyter notebook] Installation of jupyter notebook in ubuntu 18 and changing default directory #jupyter #ubuntu #ubuntu18.04 #ipython

Installation of jupyter notebook in ubuntu 18

Install using pip

use ignore-installed if you run into any problems in installations relating

Cannot uninstall ''. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Don't Forget to Upgrade PIP

sudo pip3 install --upgrade pip
pip3 install jupyter --ignore-installed

To Install Again Link:

sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall

To clean Hash

hash -r

To change directory use

jupyter notebook --generate-config
vim ~/.jupyter/jupyter_notebook_config.py

Uncomment and add locations

Remember to begain path from root /

c.NotebookApp.notebook_dir = '/home/rajan/Dropbox/jupyter-notebook'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment