[SciPy-User] Trouble installing scipy after upgrading to Mac OS X 10.7 aka Lion

Bill Carithers wccarithers@lbl....
Tue Aug 16 12:18:03 CDT 2011


Hi Ben,

thanks for the info. I was happy just to get it to compile and I didn't run a full slate of tests.

Cheers,
Bill

On Aug 16, 2011, at 5:06 AM, Ben Willmore <bdeb@willmore.eu> wrote:

> Hi Bill,
> 
> As Ralf mentioned, the veclib_cabi_c.c (etc) problem you have has been fixed. But, even with new checkouts of scipy, I found that simply running 'python setup.py install' did not result in a version of scipy that worked correctly on Mac OSX 10.7 (for example, using scipy.fftpack, ifft(fft(signal)) != signal, problems with single precision vector arithmetic, failures and a crash in ARPACK tests). I was able to fix these by setting:
> 
> export CC=gcc-4.2
> export CXX=g++-4.2
> export FFLAGS=-ff2c
> 
> before running setup.py. Complete details at the links below.
> 
> Ben
> 
> 
> [1] http://article.gmane.org/gmane.comp.python.scientific.devel/15349
> [2] http://willmore.eu/blog/?p=5
> 
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user


More information about the SciPy-User mailing list