[SciPy-user] import of scipy.sparse.linalg is breaking

David Cournapeau cournape@gmail....
Thu Jan 15 08:34:09 CST 2009


On Thu, Jan 15, 2009 at 11:02 PM, christopher taylor
<christopher.paul.taylor@gmail.com> wrote:
> Hello!
>
> I have built myself a copy of scipy 0.7.0 and have tried to import the
> sparse.linalg module. I continue to get this error:
>
> Python 2.5.1 (r251:54863, Nov 25 2008, 17:51:08)
> [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import scipy
>>>> import scipy.sparse.linalg
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "<path_to_python_site_packages>/scipy/sparse/linalg/__init__.py",
> line 5, in <module>
>    from isolve import *
>  File "<path_to_python_site_packages>/scipy/sparse/linalg/isolve/__init__.py",
> line 4, in <module>
>    from iterative import *
>  File "<path_to_python_site_packages>/scipy/sparse/linalg/isolve/iterative.py",
> line 5, in <module>
>    import _iterative
> ImportError: <path_to_python_site_packages>/scipy/sparse/linalg/isolve/_iterative.so:
> undefined symbol: slamch_
>>>>
>

Which fortran compiler did you use to build blas/lapack, which one did
you use for numpy and scipy ? Could you give us the output of ldd
_iterative.so ?

David


More information about the SciPy-user mailing list