[Pythonmac-SIG] SciPy install on Tiger with Python 2.4.1 framework
Samuel M. Smith
smithsm at samuelsmith.org
Fri Aug 12 19:33:08 CEST 2005
The gcc 3.3 issue was the key. Thanks for help.
Below is a list of what I did.
Could someone take these directions and create a pkg installer for
scipy? So others can just double click to install?
******************
scipy installation instruction for framework python 2.4.1 on OS X 10.4.2
Get the following files
http://pythonmac.org/packages/Numeric-23.7-py2.4-macosx10.3.zip
http://pythonmac.org/packages/numarray-1.1.1-py2.4-macosx10.3.zip
http://prdownloads.sf.net/hpc/g77v3.4-bin.tar.gz?download
http://www.fftw.org/fftw-2.1.5.tar.gz
http://prdownloads.sourceforge.net/aquaterm/AquaTerm1.0.b2.dmg
http://prdownloads.sourceforge.net/gnuplot/Gnuplot-4.0.0.dmg
http://ipython.scipy.org/tmp/scipy_cvs_2005-07-29.tgz
Make sure framework python 2.41 is default python by putting
/usr/local/bin at the front of shell PATH variable
Install Numeric 23.7 from pkg installer
Install numarray 1.1.1 from pkg installer
Set default gcc compiler to version 3.3 this must be so for
compatibility with g77 fortran compiler used in scipy
> sudo gcc_select 3.3
Install g77 3.4
> sudo tar -xvf g77v3.4-bin.tar -C /
Install fftw 2.1.5
> tar -xvzf fftw-2.1.5.tar.gz (or tar -xvf if it has already been
gunzipped)
> cd fftw*
> ./configure
> make
> sudo make install
Install F2PY 2.1.5
> tar -xvzf F2PY-2-latest.tar.gz
> cd F2PY*
> sudo python setup.py install
Install AquaTerm 1.0b2 from pkg installer
Install GnuPlot 4.0 from pkg installer
Untar the scipy_cvs_2005_07_29.tgx
cd to the scipy directory
Build and Install scipy
> python setup.py build
> sudo python setup.py install
Test
>python
>>> import scipy
>>> scipy.test()
Expect that some tests will fail. The test function should complete OK.
********************************************
More information about the Pythonmac-SIG
mailing list