Ask Your Question

naren's profile - activity

2017-03-12 23:39:49 +0200 received badge  Famous Question (source)
2016-07-24 16:47:19 +0200 received badge  Notable Question (source)
2016-07-24 16:47:19 +0200 received badge  Popular Question (source)
2013-04-30 07:49:42 +0200 commented question I am getting a import error?

Thanks vdelecroix for that edit. I will post it on the google group also.

2013-04-30 03:09:23 +0200 commented question I am getting a import error?

Can anyone please help me with this problem!

2013-04-29 08:56:04 +0200 commented question I am getting a import error?

Yeah I did. I have replaced "python" by "sage --python" It didn't show any error when I installed it but it reported the ImportError when tried "import spams" in sage notebook.

2013-04-29 08:56:04 +0200 commented question I am getting a import error?

Yeah I did. I have replaced "python" by "sage --python"

2013-04-28 08:41:03 +0200 asked a question 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

>>> 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

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

2013-04-26 10:52:53 +0200 received badge  Supporter (source)