I am getting a import error?
I have recently shifted to python from Matlab. I have tried installing a toolbox SPAMS(sparse modelling software) using sage --python. When I try to import spams module it gives me a import error, gives
>>> import spams
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-2eecc34cc6d3> in <module>()
----> 1 import spams
/opt/spams-python/spams.py in <module>()
5
----> 6 import spams_wrap
7 import numpy as np
/opt/spams-python/spams_wrap.py in <module>()
30 return _mod
---> 31 _spams_wrap = swig_import_helper()
32 del swig_import_helper
/opt/spams-python/spams_wrap.py in swig_import_helper()
22 except ImportError:
---> 23 import _spams_wrap
24 return _spams_wrap
ImportError: /opt/sage-5.9.beta5/local/lib/liblapack.so: undefined symbol: cblas zswap. cblas_zswap
I know ATLAS, LAPACK and BLAS are already present in the stage installation.
Kindly help me resolve this issue. Any help will be appreciated.
Cheers,
Naren