[SciPy-dev] no linalg module and failed check_integer test
Jeremy Conlin
jeremit0 at gmail.com
Tue Feb 27 15:31:43 EST 2007
I just installed scipy from svn and I am having some problems. The
most vexing is that I can no longer load the linalg package, at least
I can't do anything with it. For example:
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.pkgload('linalg')
>>> help(scipy.linalg)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'linalg'
>>> A = scipy.ones((10,10))
>>> scipy.linalg.eig(A)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'linalg'
>>>
I didn't notice any errors during the installation. I know this isn't
a lot of information to go on, but does anyone know what the problem
is?
Secondly, and this might be related, when I run
scipy.test(1,10)
I get the error shown below. Could this be the cause of my linalg problem?
Thanks in advance,
Jeremy
test_init (scipy.io.tests.test_npfile.test_npfile) ... ok
test_parse_endian (scipy.io.tests.test_npfile.test_npfile) ... ok
test_read_write_array (scipy.io.tests.test_npfile.test_npfile) ... ok
test_read_write_raw (scipy.io.tests.test_npfile.test_npfile) ... ok
test_remaining_bytes (scipy.io.tests.test_npfile.test_npfile) ... ok
======================================================================
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
----------------------------------------------------------------------
Ran 554 tests in 2.424s
FAILED (errors=1)
<unittest.TextTestRunner object at 0x2a49fb0>
More information about the SciPy-Dev
mailing list