Skip to content

Instantly share code, notes, and snippets.

@bede
Last active December 25, 2015 02:48
Show Gist options
  • Save bede/6904840 to your computer and use it in GitHub Desktop.
Save bede/6904840 to your computer and use it in GitHub Desktop.
Install scientific Python (inc. IPython) on virgin Mac OS X 10.8
## Prerequisites
# Latest Xcode
# Latest Apple command line utilities
# Homebrew (check 'brew doctor')
# 20+ minutes (new machine with SSD – hours on our lab's 2008 Mac Pro)
## Commands (instead install scipy superpack?)
brew install python # Symlinking may well be problematic – use 'brew link --overwrite python' if necessary)
pip install virtualenv
pip install virtualenvwrapper
pip install numpy
brew install gfortran
pip install scipy
brew install freetype
pip install matplotlib
pip install ipython
brew install pyqt
brew install zmq
pip install pyzmq
pip install pygments
brew install tornado
## Running IPython
ipython qtconsole --pylab=inline # QT console, matplotlib integration
ipython notebook --matplotlib=inline # Flashy web based iPython console with matplotlib integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment