Install MacPorts
http://www.macports.org/install.php

vkatkade-mac:opt vkatkade$ sudo /opt/local/bin/port install subversion
vkatkade-mac:opt vkatkade$ sudo port -v selfupdate

Install Xcode from the Apple Dev Store: https://developer.apple.com/xcode/
In Xcode Preferences, under Downloads, also install the Command Line Tools.

Install Homebrew

vkatkade-mac:opt vkatkade$ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

Couple of other packages

vkatkade-mac:opt vkatkade$ easy_install pip
vkatkade-mac:opt vkatkade$ brew install gfortran

Then run this:

vkatkade-mac:opt vkatkade$ sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython +notebook py27-pandas py27-sympy py27-nose

Also, pip is the easiest way to install matplotlib

vkatkade-mac:~ vkatkade$ sudo pip install matplotlib
Advertisements