Skip to content

Instantly share code, notes, and snippets.

@stevekm
Last active November 25, 2015 00:55
Show Gist options
  • Save stevekm/21be14a0d65cdfae5ebb to your computer and use it in GitHub Desktop.
Save stevekm/21be14a0d65cdfae5ebb to your computer and use it in GitHub Desktop.
The place to install Juptyer in OS X 10.11 El Capitan
Had trouble getting iPython, Jupyter, installed after upgrading to El Capitan OS X 10.11
using default pip, packages were getting installed to
/Library/Python/2.7/site-packages/
when trying to run `jupyer notebook`, the notebook package was not being found, couldn't run
`> jupyter: 'notebook' is not a Jupyter command`
uninstalled all packages that were installed to that dir
example:
`sudo -H pip uninstall ipython`
`sudo -H pip uninstall jinja2 && sudo -H pip uninstall appnope && sudo -H pip uninstall markupsafe`
did this for a bunch of other items in that dir that were related to ipython/jupyter
tip: use `ls -ltr /Library/Python/2.7/site-packages/ ` to sort the things you have updated most recently
re-install the packages with brew pip (not system pip), make sure they are located here:
/usr/local/lib/python2.7/site-packages/
now it works
brew pip saw packages but calling packages -> packages/programs/commands not found
+++++++
SYNOPSIS
- install brew
- install brew python
- install brew pip if needed, maybe with the `sudo easy_install pip`
- pip install jupyter
- pip install anything else jupyer needs, probably ipython, using --user --ignore-installed, because the dependencies might already be installed elsewhere and if so then pip will refuse to install normally
- pip can be nuked with `for i in $(pip list); do pip uninstall $i; done` though I don't recommend this, it makes a mess
keywords:
how to install python pip ipython notebook jupyter in OS X 10.11 El Capitan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment