To install Magellan follow the steps mentioned below.
- 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').
- 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).
- Download the Magellan zip and unzip it to the location you want it.
- Open the command line prompt and cd into the magellan directory (where the setup.py file is).
- Write python setup.py install.
- 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.
- 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.
- Magellan should now be installed. Try just typing 'magellan'. You should get the message 'No track data file given'.
- Try running magellan with the data files that come with magellan.
2010-08-03