Tuesday, November 6, 2012

Setting up for Data Analysis with Python

How to install numpy, scipy, pandas, matplotlib, IPython on OS X Mountain Lion:

  1. install Xcode and associated Command Line Tools from http://developer.apple.com
  2. easy_install pip
  3. pip install numpy
  4. download and install gfortran binaries from http://r.research.att.com/tools/
  5. pip install scipy
  6. pip install pandas
  7. download and install freetype from http://sourceforge.net/projects/freetype/files/
  8. run ln -s /usr/local/include/freetype2/freetype/ /usr/include/freetype
  9. download and install libpng from http://sourceforge.net/projects/libpng/files/
  10. pip install matplotlib
  11. pip install IPython