[SciPy-User] SciPy+NumPy on 4 major linux distributions

Pauli Virtanen pav+sp at iki.fi
Tue Sep 8 10:45:45 EDT 2009


Tue, 08 Sep 2009 09:53:17 -0400, Lev Givon wrote:
> Received from Ivo Maljevic on Fri, Sep 04, 2009 at 11:29:22PM EDT:
>> So, numpy works very well, but scipy.test() fails, and I think it is
>> the same failure across the distributions. Anyone knows what does this
>> mean:
>> 
>> ======================================================================
>> ERROR: test_implicit (test_odr.TestODR)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File
>>   "/usr/lib64/python2.6/site-packages/scipy/odr/tests/test_odr.py",
>> line 88, in test_implicit
>>     out = implicit_odr.run()
>>   File "/usr/lib64/python2.6/site-packages/scipy/odr/odrpack.py", line
>>   1055,
>> in run
>>     self.output = Output(apply(odr, args, kwds))
>> TypeError: y must be a sequence or integer (if model is implicit)
>> 
>> ----------------------------------------------------------------------
>> Ran 3395 tests in 51.646s
>> 
>> FAILED (KNOWNFAIL=3, SKIP=28, errors=1) <nose.result.TextTestResult
>> run=3395 errors=1 failures=0>
> 
> I have observed the same failure on the various Mandriva 2009.1 32 bit
> systems to which I have access.

It's a Python 2.6 incompatibility, IIRC, fixed in current SVN.

-- 
Pauli Virtanen




More information about the SciPy-User mailing list