[SciPy-User] Trouble installing scipy after upgrading to Mac OS X 10.7 aka Lion
Tue Aug 16 12:18:03 CDT 2011
thanks for the info. I was happy just to get it to compile and I didn't run a full slate of tests.
On Aug 16, 2011, at 5:06 AM, Ben Willmore <firstname.lastname@example.org> 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.
>  http://article.gmane.org/gmane.comp.python.scientific.devel/15349
>  http://willmore.eu/blog/?p=5
> SciPy-User mailing list
More information about the SciPy-User