[Numpy-discussion] [SciPy-User] please test/review: Scipy on OS X with Python 2.7

Vincent Davis vincent at vincentdavis.net
Tue Nov 2 21:39:10 EDT 2010


On Tue, Nov 2, 2010 at 7:37 AM, Ralf Gommers <ralf.gommers at googlemail.com>wrote:

> Hi,
>
> If you had an issue recently trying to compile scipy on OS X, can you
> please try to install numpy from
> http://github.com/rgommers/numpy/commits/farchs and then compile

scipy?
>

numpy tests
OK (KNOWNFAIL=4, SKIP=1)
<nose.result.TextTestResult run=3067 errors=0 failures=0>

Scipy build (did not look into this yet and have to say I am not real
familiar with the issue)
python2.7 setup.py build
<snip>
error: Command "c++ -fno-strict-aliasing -fno-common -dynamic -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3
-Iscipy/interpolate/src
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c
scipy/interpolate/src/_interpolate.cpp -o
build/temp.macosx-10.3-fat-2.7/scipy/interpolate/src/_interpolate.o" failed
with exit status 1

Trying with
LDFLAGS="-arch x86_64" FFLAGS="-arch x86_64" py27 setupscons.py scons

scons: Reading SConscript files ...
Mkdir("build/scons/scipy/integrate")
Checking if gfortran needs dummy main - Failed !
Exception: Could not find F77 BLAS, needed for integrate package:
  File "/Volumes/max/Downloads/scipy/scipy/integrate/SConstruct", line 2:
    GetInitEnvironment(ARGUMENTS).DistutilsSConscript('SConscript')
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numscons/core/numpyenv.py",
line 135:
    build_dir = '$build_dir', src_dir = '$src_dir')
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numscons/scons-local/scons-local-1.2.0/SCons/Script/SConscript.py",
line 553:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numscons/scons-local/scons-local-1.2.0/SCons/Script/SConscript.py",
line 262:
    exec _file_ in call_stack[-1].globals
  File
"/Volumes/max/Downloads/scipy/build/scons/scipy/integrate/SConscript", line
15:
    raise Exception("Could not find F77 BLAS, needed for integrate package")
error: Error while executing scons command. See above for more information.
If you think it is a problem in numscons, you can also try executing the
scons
command with --log-level option for more detailed output of what numscons is
doing, for example --log-level=0; the lowest the level is, the more detailed
the output it.




>
> A quick review from a numpy.distutils expert would also be very
> welcome. Related (long) discussion at
> http://projects.scipy.org/numpy/ticket/1399.
>
> Thanks,
> Ralf
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



-- 
Thanks
Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20101102/c538f139/attachment.html>


More information about the NumPy-Discussion mailing list