[SciPy-User] Ubuntu / Scipy / Lapack / BLAS issues

Tanmoy Laskar tanmoylaskar at gmail.com
Fri Oct 26 16:09:40 EDT 2012


Hi scipy-users!

I'm on Ubuntu 12.10 (Quantal), and it appears that my recent upgrade to
12.10 has broken my scipy 0.10.0 installation. A traceback is below. The
choking point appears to be lapack in some way. I originally installed
scipy through my package manager (sudo apt-get install python-scipy). I
would greatly appreciate any help. Please let me know if there is any
additional info I could provide to help diagnose the problem.

Thanks in advance,
Tanmoy


In [1]: import numpy

In [2]: import scipy

In [3]: import scipy.linalg
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/home/tanmoy/Projects/Edo/Reverse_Shocks/GRB/120521C/<ipython-input-3-6362d33d4139>
in <module>()
----> 1 import scipy.linalg

/usr/local/lib/python2.7/dist-packages/scipy/linalg/__init__.py in
<module>()
    114
    115 from misc import *
--> 116 from basic import *
    117 from decomp import *
    118 from decomp_lu import *

/usr/local/lib/python2.7/dist-packages/scipy/linalg/basic.py in <module>()
     10
     11 from flinalg import get_flinalg_funcs
---> 12 from lapack import get_lapack_funcs
     13 from misc import LinAlgError, _datacopied
     14 from scipy.linalg import calc_lwork

/usr/local/lib/python2.7/dist-packages/scipy/linalg/lapack.py in <module>()
     13
     14 from scipy.linalg import flapack
---> 15 from scipy.linalg import clapack
     16 _use_force_clapack = 1
     17 if hasattr(clapack,'empty_module'):

ImportError:
/usr/local/lib/python2.7/dist-packages/scipy/linalg/clapack.so: undefined
symbol: clapack_sgesv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20121026/c73f93a4/attachment.html>


More information about the SciPy-User mailing list