Skip to content

Instantly share code, notes, and snippets.

@rgbkrk
Created February 25, 2014 19:30
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 rgbkrk/9215983 to your computer and use it in GitHub Desktop.
Save rgbkrk/9215983 to your computer and use it in GitHub Desktop.
# This was the order I installed things for a working scientific computing environment on my Mac.
brew install python
pip install virtualenv virtualenvwrapper
# Also add these to your ~/.bash_profile:
export PATH=/usr/local/bin:/usr/bin:$PATH
source /usr/local/bin/virtualenvwrapper.sh
# Not necessary, but quite nice
brew install bash-completion git
# Pre-requisites
brew install gfortran
brew install freetype
brew install zmq
brew install pyqt
# If you're going to do it with virtualenv+virtualenvwrapper, install those first and setup your virtualenv
# pip install virtualenv virtualenvwrapper
# mkvirtualenv sciduck
# Numerical tools installation, in order + some dependencies
pip install numpy f2py pillow python-dateutil pytz six freetype-py pygments
# scipy, pandas, matplotlib *must* be installed after numpy
pip install scipy pandas matplotlib
pip install scikit-learn
pip install ipython[notebook]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment