[SciPy-user] scipy compilation succeeds, test fails

Michele Mazzucco michelemazzucco at gmail.com
Fri Apr 20 19:48:07 EDT 2007


Hi all,

I've just built SciPy on an Intel Mac OS 10.4, python 2.5.1, gcc
4.0.1, gfortran 4.3.0 and fftw 3.1.2.
I've followed the instructions described here [1]. I can successfully
install the library, howevever the call to
scipy.test(1,10)
fails:

======================================================================
ERROR: check_integer (scipy.io.tests.test_array_import.test_read_array)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/io/tests/test_array_import.py",
line 55, in check_integer
    from scipy import stats
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/__init__.py",
line 7, in <module>
    from stats import *
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/stats.py",
line 190, in <module>
    import scipy.special as special
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/__init__.py",
line 8, in <module>
    from basic import *
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/basic.py",
line 8, in <module>
    from _cephes import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so,
2): Symbol not found: ___dso_handle
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so
  Expected in: dynamic lookup


======================================================================
ERROR: check_simple_todense (scipy.io.tests.test_mmio.test_mmio_coordinate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/io/tests/test_mmio.py",
line 151, in check_simple_todense
    b = mmread(fn).todense()
AttributeError: 'numpy.ndarray' object has no attribute 'todense'

----------------------------------------------------------------------
Ran 417 tests in 1.788s

FAILED (errors=2)
<unittest.TextTestRunner object at 0x17e0d90>


The call numpy.test(1,10) succeeds. Any idea?

Thanks,
Michele



[1] http://www.scipy.org/Installing_SciPy/Mac_OS_X



More information about the SciPy-User mailing list