Skip to content

Instantly share code, notes, and snippets.

View ehsteve's full-sized avatar
👋

Steven Christe ehsteve

👋
View GitHub Profile
@ehsteve
ehsteve / sunpy_mac_install.rst
Created September 6, 2011 22:27 — forked from SabrinaSavage/sunpy_mac_install.rst
SunPy Mac Python Installation instructions

Installing Python on Mac OSx

Using Macports

Macports is a free/open source package management system that simplifies the installation of other free/open source software referred to as ports. Macports installs itself and its ports in /opt/local. Activating a port places links to the port software in the expected location on the drive wherever that may be. Due to the fact that Mac Os X already comes with its own version of Python (which can change without warning during a software update to the OS) installing SunPy and its dependencies can be a challenge. Macports provides a good solution to this problem. This tutorial follows the one provided by Thomas Robitaille (astrofrog on Github).

Before you start you'll need to install Xcode which is the freely available developer environment provided by Apple. You can find it in the Mac App Store. Just a warning, it is a rather large download but provides compilers which are necessary for Macpor