[SciPy-user] installation_problems

eric eric at scipy.org
Tue Feb 19 12:39:02 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 ;).

Me too.  And that didn't exactly make me brim with confidence.

> However, now when I run scipy.test(), I get what follows below.
> Should I be worry about it? ;-)

Well, on the bright side, 257 tests pass.

I get some errors also, but they all deal with the isnan IEEE junk.  This stuff
is a mess and mail fail until we get Tim Peters to tell us what the heck to do
with it... :-|

> Seems that linear_algebra is still broken :(

Hmmm. I get 3 errors on windows, but, as I said, all of them deal with isnan and
friends.  I don't get any errors in linear_algebra.  Did poly() work for you
before?

I'll hunt down why your getting all the wx_info, wx_spec stuff from weave.  I'm
not seeing this either, but I think I have some ideas.

Also, I think it is OK to have tests that fail at this point.  The reason we
write them is to tell us what still needs to be worked on.  I'd rather have a
lot of test that fail instead of no test at all.

eric


>
> 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>
> >>>
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>





More information about the SciPy-user mailing list