Changes between Version 13 and Version 14 of InstallOsxLeopard
- Timestamp:
- 05/07/10 15:11:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallOsxLeopard
v13 v14 3 3 Note that only intel based Macs are supported at this stage. 4 4 5 '''python 2. 5is required'''5 '''python 2.6 is required''' 6 6 7 7 1) python - 8 8 {{{ 9 curl -O http://python.org/ftp/python/2. 5.4/python-2.5.4-macosx.dmg9 curl -O http://python.org/ftp/python/2.6.5/python-2.6.5-macosx10.3-2010-03-24.dmg 10 10 }}} 11 the open disk image and install. In a terminal run {{{ python -V }}}, which should return {{{ Python 2. 5.4}}}. If not log out and log back in.11 the open disk image and install. In a terminal run {{{ python -V }}}, which should return {{{ Python 2.6.5 }}}. If not log out and log back in. 12 12 13 13 All these will probably work with the latest released version of those packages as well. … … 18 18 }}} 19 19 20 3) ipython - 21 {{{ 22 sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/ipython-0.9.1-py2.5.egg 23 #test it 24 ipython # Ctrl-D o exit 20 3) asap 21 22 Get the latest release: 23 24 {{{ 25 curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-3.0.0-osx-10.5-i386-python2.6.tar.bz2 25 26 }}} 26 27 27 4) numpy - 28 {{{ 29 sudo easy_install ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/numpy-1.2.1-py2.5-macosx-10.3-i386.egg 30 # test it 31 python -c 'from numpy import *' # should return without error 28 Unpack and follow the instructions in the README file 29 {{{ 30 tar jxf asap-3.0.0-osx-10.5-i386-python2.6.tar.bz2 31 cd asap-3.0.0-osx-10.5-i386-python2.6 32 less README 32 33 }}} 33 34 5) matplotlib -35 {{{36 curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/osx-dependencies/matplotlib-0.98.5.2-py2.5-mpkg.zip37 }}}38 then unzip and install39 {{{40 # test it41 ipython -pylab # then in ipython42 plot(range(10)) # should bring up a window with a line plotted43 }}}44 45 6) asap -46 {{{47 curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz248 tar jxf asap-2.3.1-osx-10.5-x86.tar.bz249 cd asap-2.3.1-osx-10.5-x8650 sudo ./install51 cd52 # test it53 python -c 'from asap import *'54 # install data needed for frequency conversions55 sudo asap_update_data56 }}}57 58 Install as non-root59 {{{60 curl -O ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-osx-10.5-x86.tar.bz261 tar jxf asap-2.3.1-osx-10.5-x86.tar.bz262 cd asap-2.3.1-osx-10.5-x8663 ./install -p $HOME -m $HOME/python # will install64 # Then add the following environment variables65 # for bash66 export PATH=${HOME}/bin:${PATH}67 export PYTHONPATH=${HOME}/python:${PYTHONPATH}68 asap_update_data69 cd70 # test it71 python -c ' from asap import *'72 }}}73