[Pythonmac-SIG] SciPy install on Tiger with Python 2.4.1 framework

David M. Cooke cookedm at physics.mcmaster.ca
Thu Aug 11 21:03:04 CEST 2005


"Samuel M. Smith" <smithsm at samuelsmith.org> writes:

> Maybe I am being stupid but I tried to install scipy on 10.4.2 using  
> Bob Ippolito's Framework python 2.4.1
> and following the directions on the scipy website for os x http:// 
> www.scipy.org/Members/fonnesbeck/osx_build.txt/
>
> I first installed python 2.4.1 and several of the packages from Bob's  
> site
> http://undefined.org/python/#python
> and from the python packages
> http://pythonmac.org/packages/
>
> I only installed packages that said they were compatible with Tiger  
> and 2.4.1
>
> I changed my PATH shell variable to
>  >echo $PATH
> /usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
>
> so that python from the command line  runs python 2.4.1
>
> Installing
> Numeric 23.7,
> numarry 1.1.1
> g77 3.4,
> fftw 2.15,
> f2py 2.45,
> aquaterm 1.0b2
> gnuplot 4.0
>
> all went smoothly
> The ploblem occurred with
> scipy 0.3.2
>
> The setup instructions say one might need to remove
> if sys.platform == 'darwin':
>    opt.append('cc_dynamic')
>
> from the file gnufcompiler.py
>
> prior to running python setup.py build
>
> However that code snippet doesn't exist in the version of  
> gnufcompiler.py in scipy complete 0.3.2.

Try getting the subversion version of Scipy. I know there were some
fixes to how Scipy is built on Mac OS X since 0.3.2 (which is getting
kind of old now).

Unfortunately, it doesn't look scipy.org has been updated with
instructions on pulling from Subversion, but Fernando Perez has put up
a snapshot of CVS before it was switched to subversion at

http://ipython.scipy.org/tmp/scipy_cvs_2005-07-29.tgz

This *should* build correctly on OS X.

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca


More information about the Pythonmac-SIG mailing list