[SciPy-Dev] Installing scipy on OS 10.6.2

Paul Fuoss fuoss@anl....
Tue Mar 23 09:57:04 CDT 2010


I have been unsuccessful at installing scipy on OS 10.6.  When I try
to build from the distribution, I get a huge number of library
architecture errors. I've tried to build both against the python
that comes with the system (2.6.1) and against the MacPort python
(2.6.5)  (see test summary at end of message).

When I try to install via MacPort, it appears to install but much
functionality is missing (e.g. curve_fit) that I assume is because
the BLAS and LAPACK libraries aren't being linked to correctly.

I'm using OS 10.6.2 on an Intel iMac.

The latest Xcode is installed (3.2.1) with:
  i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)

gfortran from research.att.acom:
  GNU Fortran (GCC) 4.2.3

I would appreciate suggestions.

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/fftpack/_fftpack.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/fftpack/_fftpack.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/special/_cephes.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/special/_cephes.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: test_integer (test_array_import.TestReadArray)
----------------------------------------------------------------------
ImportError: 
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pytho
n2.6/site-packages/scipy/special/_cephes.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/special/_cephes.so: no matching architecture in universal
wrapper

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/lib/blas/fblas.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/lib/blas/fblas.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/lib/lapack/calc_lwork.so, 2): no suitable image
found.  Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/lib/lapack/calc_lwork.so: no matching architecture in
universal wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/linalg/flapack.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/linalg/flapack.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------
======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/sparse/linalg/isolve/_iterative.so, 2): no
suitable image found.  Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/sparse/linalg/isolve/_iterative.so: no matching
architecture in universal wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/optimize/minpack2.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/optimize/minpack2.so: no matching architecture in
universal wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/odr/__odrpack.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/odr/__odrpack.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/optimize/minpack2.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/optimize/minpack2.so: no matching architecture in
universal wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/special/_cephes.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/special/_cephes.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------
======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/sparse/linalg/isolve/_iterative.so, 2): no
suitable image found.  Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/sparse/linalg/isolve/_iterative.so: no matching
architecture in universal wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/sparse/linalg/isolve/_iterative.so, 2): no
suitable image found.  Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/sparse/linalg/isolve/_iterative.so: no matching
architecture in universal wrapper)
----------------------------------------------------------------------

======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/special/_cephes.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/special/_cephes.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------
======================================================================
ERROR: Failure: ImportError
(dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pyth
on2.6/site-packages/scipy/special/_cephes.so, 2): no suitable image found.
Did find:
    
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/si
te-packages/scipy/special/_cephes.so: no matching architecture in universal
wrapper)
----------------------------------------------------------------------

======================================================================
FAIL: test_mio.test_warnings(<type 'exceptions.FutureWarning'>, <function
loadmat at 0x1048f61b8>,
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
ite-packages/scipy/io/matlab/tests/data/testdouble_7.1_GLNX86.mat')
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
ite-packages/nose/case.py", line 183, in runTest
    self.test(*self.arg)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
ite-packages/numpy/testing/utils.py", line 693, in assert_raises
    return nose.tools.assert_raises(*args,**kwargs)
AssertionError: FutureWarning not raised

----------------------------------------------------------------------
Ran 1382 tests in 428.657s

FAILED (KNOWNFAIL=6, SKIP=3, errors=16, failures=1)
Out[3]: <nose.result.TextTestResult run=1382 errors=16 failures=1>





More information about the SciPy-Dev mailing list