Mac OSX

To install Magellan follow the steps mentioned below.

  1. You will first need to download Python v. 2.5 (do not install Python 2.6 because numpy doesn't work with it). There are a fair amount of websites that offer instructions on that (google 'Mac Os install python').
  2. Magellan uses the matplotlib library and matplotlib uses the numpy package. After installing python download these two packages (they can both be found at http://sourceforge.net).
  3. Download the Magellan zip and unzip it to the location you want it.
  4. Open the command line prompt and cd into the magellan directory (where the setup.py file is).
  5. Write python setup.py install.
  6. Magellan will be installed at /Library/Frameworks/Python.framework/Versions/Current/bin/magellan and /Library/Frameworks/Python.framework/Versions/2.5/bin/magellan. The Mag folder will be installed at Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages and Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages.
  7. NOTE: I ran into a problem with numpy, pylab and matplotlib when I tried running Magellan. I got the error "No module named matplotlib". The Mac OSX operating system sometimes comes with matplotlib and numpy built in. I re-installed numpy, pytz, dateutil, matplotlib and setuptools (removed the old ones first from Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages and Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages using sudo). From sourceforge I downloaded the tar.gz, unzipped it, and ran 'sudo python setup.py install' for each of them.
  8. Magellan should now be installed. Try just typing 'magellan'. You should get the message 'No track data file given'.
  9. Try running magellan with the data files that come with magellan.

2010-08-03