[SciPy-User] scipy compiles, but importing interpolate fails

Keflavich keflavich at gmail.com
Fri Mar 9 11:46:24 EST 2012


re: Gael: I removed numpy and scipy completely from both my Frameworks
and virtualenv installs and removed the build directories from both.
However, I think that *still* didn't work.  One part of the build that
probably caused problems was using this:
PYTHONPATH="/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/site-packages/"
which some site (maybe hyperjeff?  maybe elsewhere?) said was
necessary for building scipy.  I'm pretty sure getting rid of that in
the scipy build was essential.

My eventual successful build looked like this:
numpy:
CFLAGS="-arch i386 -arch x86_64" FFLAGS="-m32 -m64" LDFLAGS="-Wall -
undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
MACOSX_DEPLOYMENT_TARGET=10.6 PYTHONPATH="/Library/Frameworks/
Python.framework/Versions/2.7/lib/python2.7/site-packages/" ~/virtual-
python/bin/python2.7 setup.py build --fcompiler=gnu95
scipy:
CFLAGS="-arch i386 -arch x86_64" FFLAGS="-m32 -m64" LDFLAGS="-Wall -
undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
MACOSX_DEPLOYMENT_TARGET=10.6 PYTHONPATH="/Users/adam/virtual-python/
lib/python2.7/site-packages/" ~/virtual-python/bin/python2.7 setup.py
build --fcompiler=gnu95

Re: Jonathan - good to know.  I don't think that affected me, though,
as I made my virtualenv from a /Library python, not a /System/Library
python.  Why evil, though?



More information about the SciPy-User mailing list