Wednesday, December 7, 2011

Mac OS Lion : install matplotlib

  1. Download source
  2. "Building mpl on Mac OS X is a nightmare" - John Hunter
  3. Use his very effective make.osx:
  4. sudo make -f make.osx PREFIX=/temp/build/dir PYVERSION=2.7 fetch deps mpl_install_std
  5. Remove old ~/.matplotlib directory (some weird warnings)

No comments:

Post a Comment