[SciPy-user] Install problem - Overwriting message when importing scipy

Hugo Gamboa hgamboa at gmail.com
Wed Dec 21 06:38:21 CST 2005


>
> Does scipy.test(1,2) succeed? If not, could you send the failure report?
>
> Pearu
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>


The test gives the following result:

======================================================================
FAIL: check_round (scipy.special.basic.test_basic.test_round)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/scipy/special/tests/test_basic.py",
line 1799, in check_round
    assert_array_equal(rnd,rndrl)
  File "/usr/lib/python2.4/site-packages/scipy/test/testing.py", line 738,
in assert_array_equal
    assert cond,\
AssertionError:
Arrays are not equal (mismatch 25.0%):
        Array 1: [10 10 11 11]
        Array 2: [10 10 10 11]


----------------------------------------------------------------------
Ran 1372 tests in 15.726s

FAILED (failures=1)

---------------------------------------


I managed to detect that pyhton gives segmentation fault when
scipy.io.freadis called.

A simple script like the following manage to break python with my scipy
installation:

from scipy import *
import timing

def tic():
    timing.start()

def tac(s=""):
    timing.finish()
    print(':ms:'+str(timing.milli())+" "+s)

tic()
a=randn(1000,1000)
tac("Generate data")


tic()
f=open("fwrite.mat","w")
io.fwrite(f,size(a),a,"d",)
tac("Write")

tic()
f=open("fwrite.mat","r")
b=io.fread(f,size(a),"d")  #FAILS
tac("Read")



Hugo Gamboa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20051221/37fe6e38/attachment.htm


More information about the SciPy-user mailing list