[SciPy-user] installation_problems

Pearu Peterson pearu at cens.ioc.ee
Tue Feb 19 13:09:42 CST 2002


On Tue, 19 Feb 2002, eric wrote:

> Is everything working for you?

Yes, almost. I just build scipy from latest CVS and it imports fine
(recently this has been my only test for success ;).
However, now when I run scipy.test(), I get what follows below.
Should I be worry about it? ;-)
Seems that linear_algebra is still broken :(

Pearu

<snip>
 creating test suite for: scipy.basic
   !! FAILURE building test for  scipy.basic
    scipy/tests/test_basic.py:524: NameError: global name 'test_trapz' is
not defined (in test_suite)
<snip>
 creating test suite for: scipy.stats.new_stats
   !! FAILURE building test for  scipy.stats.new_stats
    <string>:1: ImportError: No module named test_new_stats (in ?)
No test suite found for  scipy.stats.rv
 creating test suite for: scipy.stats.stats
   !! FAILURE building test for  scipy.stats.stats
    <string>:1: ImportError: No module named test_stats (in ?)
FAILURE to import scipy.weave.wx_info
<string>:0: AttributeError: 'scipy.weave' module has no attribute
'wx_info' (in ?)
FAILURE to import scipy.weave.accelerate_tools
<string>:0: AttributeError: 'scipy.weave' module has no attribute
'accelerate_tools'
 (in ?)
FAILURE to import scipy.weave.wx_spec
<string>:0: AttributeError: 'scipy.weave' module has no attribute
'wx_spec' (in ?)
FAILURE to import scipy.weave.swig_info
<string>:0: AttributeError: 'scipy.weave' module has no attribute
'swig_info' (in ?)

No test suite found for  scipy.integrate
......................E.......E......E....................................................................................dgeev:lwork=0
Edgeev:lwork=0
E....................................warning: specified build_dir
'_bad_path_' does not exist or is or is not writable. Trying default
locations
....warning: specified build_dir '_bad_path_' does not exist or is or is
not writable. Trying default locations
..................................................................................................
======================================================================
ERROR: check_qnan (test_misc.test_isnan)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scipy/tests/test_misc.py", line 112, in check_qnan
    assert(isnan(log(-1.)) == 1)
ValueError: math domain error

======================================================================
ERROR: check_basic (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scipy/tests/test_basic1a.py", line 19, in check_basic
    assert_array_almost_equal(roots(a1),[2,2],11)
  File "scipy/basic1a.py", line 51, in roots
    roots,dummy = eig(A)
  File "scipy/linalg/linear_algebra.py", line 440, in eig
    results = ev(a, jobvl='N', jobvr=vchar, lwork=results[-2][0])
error: ((lwork==-1) || (lwork >= MAX(1,4*n))) failed for 3rd keyword lwork
======================================================================
ERROR: check_inverse (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scipy/tests/test_basic1a.py", line 25, in check_inverse
    assert_array_almost_equal(sort(roots(poly(a))),sort(a),5)
  File "scipy/basic1a.py", line 51, in roots
    roots,dummy = eig(A)
  File "scipy/linalg/linear_algebra.py", line 440, in eig
    results = ev(a, jobvl='N', jobvr=vchar, lwork=results[-2][0])
error: ((lwork==-1) || (lwork >= MAX(1,4*n))) failed for 3rd keyword lwork
----------------------------------------------------------------------
Ran 262 tests in 5.790s

FAILED (errors=5)
<unittest.TextTestRunner instance at 0x834d904>
>>> 





More information about the SciPy-user mailing list