Skip to content

Instantly share code, notes, and snippets.

@imfing
Last active September 15, 2017 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imfing/f77ea06b7b0f850490e8229d3606d0b4 to your computer and use it in GitHub Desktop.
Save imfing/f77ea06b7b0f850490e8229d3606d0b4 to your computer and use it in GitHub Desktop.
Installing Jupyter for Python 2.7 on Ubuntu

If you want to install jupyter with Python 2.7.x pip install jupyter

You'll get errors like:


 When using Python 2.7, please install IPython 5.x LTS Long Term Support version.

 Beginning with IPython 6.0, Python 3.3 and above is required.

You have to install ipython 5.x first by

sudo pip uninstall ipython

sudo pip install ipython==5.4.1

remember to add sudo!!

Then install jupyter

sudo pip install --no-cache-dir jupyter

Add --no-cache-dir to prevent pip using cached ipython6.0

Not working: https://aichamp.wordpress.com/2017/05/28/installing-ipython-5-0-lower-then-6-0-compatible-with-python-2-62-7/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment