UPDATE: A better way… Installing Python with Anaconda
Instructions below were contributed by Robert Branton.
Here is final synopsis of what I did to install and run spyder on Mountain Lion.
- install XQuartz – http://xquartz.macosforge.org/landing/
- update to latest python – http://www.python.org/download/releases/3.3.0/
- install Tcl/Tk – http://www.python.org/download/mac/tcltk/
- install XCODE from App Store
- build Command Line Tools
- install MacPorts – http://guide.macports.org/
- activate Mac OS Terminal window to get $ prompt and so run MacPorts
- $ sudo port install py-spyder
- $ sudo port -f activate python27
- $ sudo port install py-spyder
- $ sudo port uninstall py27-matplotlib-basemap
- $ sudo port install py27-matplotlib-basemap
- $ sudo port install py27-netcdf4
- to run spyder form Mac OS Terminal
- $ spyder-2.7 &
- to cleanup spyder workspace
- $ rm -R .spyder2-27/