[SciPy-User] import scipy.stats undefined symbol: clapack_sgesv

Ralf Gommers ralf.gommers@googlemail....
Mon Jun 18 15:46:56 CDT 2012


On Sun, Jun 17, 2012 at 7:48 AM, Semi <semi@bgu.ac.il> wrote:

>  Please help!
>
> Python 2.6.6 (r266:84292, May 20 2011, 16:42:11)
> [GCC 4.4.5 20110214 (Red Hat 4.4.5-6)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> *import scipy.stats*
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/usr/lib/python2.6/site-packages/scipy-0.10.1-py2.6-linux-x86_64.egg/scipy/stats/__init__.py",
> line 322, in <module>
>     from stats import *
>   File
> "/usr/lib/python2.6/site-packages/scipy-0.10.1-py2.6-linux-x86_64.egg/scipy/stats/stats.py",
> line 194, in <module>
>     import scipy.linalg as linalg
>   File
> "/usr/lib/python2.6/site-packages/scipy-0.10.1-py2.6-linux-x86_64.egg/scipy/linalg/__init__.py",
> line 116, in <module>
>     from basic import *
>   File
> "/usr/lib/python2.6/site-packages/scipy-0.10.1-py2.6-linux-x86_64.egg/scipy/linalg/basic.py",
> line 12, in <module>
>     from lapack import get_lapack_funcs
>   File
> "/usr/lib/python2.6/site-packages/scipy-0.10.1-py2.6-linux-x86_64.egg/scipy/linalg/lapack.py",
> line 15, in <module>
>     from scipy.linalg import clapack
> ImportError:
> /usr/lib/python2.6/site-packages/scipy-0.10.1-py2.6-linux-x86_64.egg/scipy/linalg/clapack.so:
> * undefined symbol: clapack_sgesv*
>

This should be due to a broken LAPACK / ATLAS install. See for example
http://projects.scipy.org/scipy/ticket/1031.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120618/da1bf238/attachment.html 


More information about the SciPy-User mailing list