gilgamesh: importing scipy(python error)
Kamran Karimi
kkarimi at cmu.edu
Tue Oct 12 22:12:26 EDT 2010
Dear Gilgamesh users,
I'm trying to use the sparse libraries in scipy installed on Gilgamesh.
After typing "module load python/scipy-0.80-gcc \n python \n import scipy.sparse", I get the following error message:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/opt/python/scipy/scipy-0.8.0-gcc/lib/python2.6/site-packages/scipy/sparse/__init__.py", line 6, in ?
from csr import *
File "/opt/python/scipy/scipy-0.8.0-gcc/lib/python2.6/site-packages/scipy/sparse/csr.py", line 12, in ?
from sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
File "/opt/python/scipy/scipy-0.8.0-gcc/lib/python2.6/site-packages/scipy/sparse/sparsetools/__init__.py", line 4, in ?
from csr import *
File "/opt/python/scipy/scipy-0.8.0-gcc/lib/python2.6/site-packages/scipy/sparse/sparsetools/csr.py", line 7, in ?
import _csr
ImportError: /opt/python/scipy/scipy-0.8.0-gcc/lib/python2.6/site-packages/scipy/sparse/sparsetools/_csr.so: undefined symbol: Py_InitModule4_64
Please help me.
Regards,
Kamran Karimi
Graduate Student
Mechanics, Materials and Computing
Civil and Environmental Engineering
Carnegie Mellon University
Pittsburgh PA 15213
More information about the gilgamesh-users
mailing list