[SciPy-user] Failed build w/ mingw

Andrew Straw strawman at astraw.com
Tue Jan 17 19:59:43 CST 2006


Travis Brady wrote:

> Thanks, Travis.
> The build succeeds after commenting out the montecarlo bit, but I 
> receive the following when trying to run the tests.
>
> >>> import scipy
> import utils -> failed: No module named base
> >>> scipy.test()
> Overwriting lib=<module 'scipy.lib' from 
> 'C:\Python24\lib\site-packages\scipy\li
> b\__init__.pyc'> from 
> C:\Python24\lib\site-packages\scipy\lib\__init__.pyc (was
> <module 'numpy.lib ' from 
> 'C:\Python24\lib\site-packages\numpy\lib\__init__.pyc'>
>  from C:\Python24\lib\site-packages\numpy\lib\__init__.pyc)
> Fatal Python error: can't initialize module specfun (failed to import 
> scipy.base
> )
>
I'm seeing it now on a 32-bit linux box... Actually, the following:

In [1]:import scipy
import utils -> failed: No module named base

In [2]:scipy.__file__
Out[2]:'/usr/lib/python2.3/site-packages/scipy-0.4.4.1558-py2.3-linux-i686.egg/scipy/__init__.pyc'

In [3]:scipy.pkgload()
Overwriting lib=<module 'scipy.lib' from 
'/usr/lib/python2.3/site-packages/scipy-0.4.4.1558-py2.3-linux-i686.egg/scipy/lib/__init__.pyc'> 
from 
/usr/lib/python2.3/site-packages/scipy-0.4.4.1558-py2.3-linux-i686.egg/scipy/lib/__init__.pyc 
(was <module 'numpy.lib' from 
'/usr/lib/python2.3/site-packages/numpy-0.9.4.1926-py2.3-linux-i686.egg/numpy/lib/__init__.pyc'> 
from 
/usr/lib/python2.3/site-packages/numpy-0.9.4.1926-py2.3-linux-i686.egg/numpy/lib/__init__.pyc)
from utils import info -> failed: cannot import name info
from utils import factorial -> failed: cannot import name factorial
from utils import factorial2 -> failed: cannot import name factorial2
from utils import factorialk -> failed: cannot import name factorialk
from utils import comb -> failed: cannot import name comb
from utils import who -> failed: cannot import name who
from utils import lena -> failed: cannot import name lena
from utils import central_diff_weights -> failed: cannot import name 
central_diff_weights
from utils import derivative -> failed: cannot import name derivative
from utils import pade -> failed: cannot import name pade
Fatal Python error: can't initialize module specfun (failed to import 
scipy.base)
Aborted




More information about the SciPy-user mailing list