Version 12 (modified by 16 years ago) ( diff ) | ,
---|
Installation procedure
Note that only intel based Macs are supported at this stage.
python 2.5 is required
1) python -
curl -O http://python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmgthe open disk image and install. In a terminal run
python -V
, which should returnPython 2.5.4
. If not log out and log back in.
All these will probably work with the latest released version of those packages as well.
2) setuptools -
curl -O http://peak.telecommunity.com/dist/ez_setup.py && sudo python ez_setup.py
3) ipython -
sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/ipython-0.9.1-py2.5.egg #test it ipython # Ctrl-D o exit
4) numpy -
sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/numpy-1.2.1-py2.5-macosx-10.3-i386.egg # test it python -c 'from numpy import *' # should return without error
5) matplotlib -
curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/matplotlib-0.98.5.2-py2.5-mpkg.zipthen unzip and install
# test it ipython -pylab # then in ipython plot(range(10)) # should bring up a window with a line plotted
6) asap -
curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz2 tar jxf asap-2.3.1-osx-10.5-x86.tar.bz2 cd asap-2.3.1-osx-10.5-x86 sudo ./install cd # test it python -c ' from asap import *' # install data needed for frequency conversions sudo asap_update_data
Install as non-root
curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz2 tar jxf asap-2.3.1-osx-10.5-x86.tar.bz2 cd asap-2.3.1-osx-10.5-x86 ./install -p $HOME -m $HOME/python # will install # Then add the following environment variables # for bash export PATH=${HOME}/bin:${PATH} export PYTHONPATH=${HOME}/python:${PYTHONPATH} asap_update_data cd # test it python -c ' from asap import *'
Note:
See TracWiki
for help on using the wiki.