[SciPy-dev] installation

arnd.baecker at physik.uni-ulm.de arnd.baecker at physik.uni-ulm.de
Tue Mar 5 15:40:10 CST 2002


Hi,

I successfully managed to install scipy (under debian)

I just started to have a closer look at python/Numeric/scipy
and a couple of points

1.) Installation of current CVS Numeric, f2py2e, scipy:
    (scipy:    cvs_version = (1, 18, 1377, 3080) )

    Went really smooth (complete install including python 2.2b1, Numeric,
    ATLAS 3.2.1, fftw).

    Only one (minor) point:
    to install f2py2e it was necessary to copy the
    scipy_distutils from scipy to the f2py2e directory.

2.) scipy.text() lead to the following three errors:

======================================================================
ERROR: check_basic (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/tests/test_basic
1a.py", line 19, in check_basic
    assert_array_almost_equal(roots(a1),[2,2],11)
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/basic1a.py", lin
e 52, in roots
    roots,dummy = eig(A)
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/linalg/linear_al
gebra.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
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/tests/test_basic
1a.py", line 25, in check_inverse
    assert_array_almost_equal(sort(roots(poly(a))),sort(a),5)
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/basic1a.py", lin
e 52, in roots
    roots,dummy = eig(A)
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/linalg/linear_al
gebra.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_basic (test_handy.test_real_if_close)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/tests/test_handy
.py", line 206, in check_basic
    a = randn(10)
  File
"/home/abaecker/PYTHON/lib/python2.2/site-packages/scipy/basic1a.py", lin
e 104, in randn
    return stats.standard_normal(size=args)
AttributeError: 'module' object has no attribute 'standard_normal'


Is any of these errors to be exected at present ?
If no, what tests can I do or what further information
do you need to find the problem (or what I did wrong .. ;)


3.) scipy.test(10):
    Ran 319 tests in 763.373s
    FAILED (errors=3)
    (same as under 2.)


Arnd








More information about the Scipy-dev mailing list