
If it does not already exist, create a folder called.

If you are still having issues, please let me know! If this does not work, try cleaning the latest port that MacPorts was trying to install, e.g.: Note: if for any reason the installation gets interrupted (for example if you get disconnected) and you end up with an error, try running the installation command again.
#Harms of installing macports install
If you want to install these, use sudo port install py27-atpy +sql) and sudo port install py27-aplpy +montage respectively). MacPorts will automatically take care of any dependencies! (by default SQL dependencies are not installed for py27-atpy, and the Montage dependency is not installed for py27-aplpy. Sudo port install py27-pyfits py27-pywcs py27-atpy py27-aplpy To install Astronomy packages, use for example: Note that this will probably take several hours, and is best done overnight. Sudo port install py27-matplotlib py27-numpy py27-scipy py27-ipython To install most of the basic Python packages, run:

If you get gcc: command not found, then XCode is not properly installed.ĭownload the DMG image for MacPorts from here - be sure to pick the correct one for your MacOS X version. To check if XCode is installed properly, you can type gcc in the command-line. If you like to live on the bleeding edge, you can purchase XCode 4 from the Mac App Store. This page was originally designed for Astronomers, but most of the instructions are generic, and apply to anyone wanting to use Python via MacPorts.Įnsure that XCode 3 or 4 is installed (should be on the install DVDs for your Mac). Please report any issues with these instructions here. MacPorts Python installation on Mac - 10 easy steps
