[SciPy-dev] Can't install scipy from svn (caused by ndimage)

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Mar 29 08:24:29 CDT 2007


Stefan van der Walt wrote:
> On Thu, Mar 29, 2007 at 01:16:13PM +0200, Nils Wagner wrote:
>   
>> Stefan van der Walt wrote:
>>     
>>> On Thu, Mar 29, 2007 at 09:08:25AM +0200, Nils Wagner wrote:
>>>   
>>>       
>>>> I cannot build/install scipy from svn. Here is the output of
>>>>
>>>> python setup.py install
>>>>     
>>>>         
>>> Sorry, Nils, I'm just moving around parts of ndimage.  I'll be done
>>> soon.
>>>       
>> Now python setup.py install works fine for me, but I get a segfault
>> running scipy.test(1) on a 64-bit machine using
>>     
>>>>> scipy.__version__
>>>>>           
>> '0.5.3.dev2888'
>>     
>
> Like I said, I'm working on it.  Already fixed the memory error in r2889.
>
> Cheers
> Stéfan
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   
Thank you very much !

Cheers,
                      Nils

With python2.4 I get

 ======================================================================
FAIL: test_explicit (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/scipy/odr/tests/test_odr.py",
line 49, in test_explicit
    np.array([  1.2646548050648876e+03,  -5.4018409956678255e+01,
  File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
215, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([  1.26462971e+03,  -5.42545890e+01,  -8.64250389e-02])
 y: array([  1.26465481e+03,  -5.40184100e+01,  -8.78497122e-02])

======================================================================
FAIL: test_multi (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/scipy/odr/tests/test_odr.py",
line 190, in test_multi
    np.array([ 4.3799880305938963,  2.4333057577497703,  8.0028845899503978,
  File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
215, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([ 4.31272063,  2.44289312,  7.76215871,  0.55995622,  0.46423343])
 y: array([ 4.37998803,  2.43330576,  8.00288459,  0.51011472,  0.51739023])

----------------------------------------------------------------------
Ran 1629 tests in 3.383s

FAILED (failures=2)

With python2.5 I get

======================================================================
ERROR: test_explicit (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib64/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 46, in test_explicit
    out = explicit_odr.run()
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 1049, in run
    self.output = Output(apply(odr, args, kwds))
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 576, in __init__
    self.stopreason = report_error(self.info)
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 143, in report_error
    'Iteration limit reached')[info % 10]
IndexError: tuple index out of range

======================================================================
ERROR: test_lorentz (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib64/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 291, in test_lorentz
    out = l_odr.run()
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 1049, in run
    self.output = Output(apply(odr, args, kwds))
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 576, in __init__
    self.stopreason = report_error(self.info)
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 143, in report_error
    'Iteration limit reached')[info % 10]
IndexError: tuple index out of range

======================================================================
ERROR: test_multi (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib64/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 187, in test_multi
    out = multi_odr.run()
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 1049, in run
    self.output = Output(apply(odr, args, kwds))
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 576, in __init__
    self.stopreason = report_error(self.info)
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 143, in report_error
    'Iteration limit reached')[info % 10]
IndexError: tuple index out of range

======================================================================
ERROR: test_pearson (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib64/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 235, in test_pearson
    out = p_odr.run()
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 1049, in run
    self.output = Output(apply(odr, args, kwds))
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 576, in __init__
    self.stopreason = report_error(self.info)
  File "/usr/local/lib64/python2.5/site-packages/scipy/odr/odrpack.py",
line 143, in report_error
    'Iteration limit reached')[info % 10]
IndexError: tuple index out of range



More information about the Scipy-dev mailing list