[SciPy-user] Building SciPy

John Hassler hasslerjc@comcast....
Wed Apr 11 10:32:45 CDT 2007

I have an ancient and honorable Athlon, without SSE, so I can't use the 
binary for Scipy.  I tried to build it, but ran into problems.  When all 
else fails, read the directions (although they might have been placed in 
a more obvious location):

"Furthermore, version 3.4.5 of gcc seems to be required or you end up 
with a linker error at the end."

So I put 3.4.5 into MinGW.  Scipy built, and it runs my programs (ode, 
optimize, fsolve) ok.  However, scipy.test() crashes in the sparse 
matrix test:
Running scipy.test(), I get a warning:

Warning: FAILURE importing tests for <module 'scipy.linsolve.umfpack' 
from '...\\linsolve\\umfpack\\__init__.pyc'>
AttributeError: 'module' object has no attribute 'umfpack' (in <module>)

And then it crashes on sparse test:
(scipy.integrate.tests.test_quadrature.test_quadrature)Took 13 points.
 ... ok
check_romb (scipy.integrate.tests.test_quadrature.test_quadrature) ... ok
check_romberg (scipy.integrate.tests.test_quadrature.test_quadrature) ... ok
check_eye (scipy.sparse.tests.test_sparse.test_construct_utils) ... ok
check_identity (scipy.sparse.tests.test_sparse.test_construct_utils) ... ok
check_normalize (scipy.sparse.tests.test_sparse.test_coo) ... ok
check_add (scipy.sparse.tests.test_sparse.test_csc)
 >>> ================= RESTART =================

The debugger says:

Unhandled exception in pythonw.exe (SPARSETOOLS.PYD): 0xC000001D: 
Illegal instruction

69B99471   and         ebx,3
69B99474   cvtsi2ss    xmm1,dword ptr [edx+4]  <-- This one has the 
yellow arrow
69B99479   mov         edx,dword ptr [ebp-28h]

Any suggestions?

More information about the SciPy-user mailing list