[Numpy-discussion] ImportError: libptf77blas.so.3: cannot open shared object file: No such file or directory

Marijn Verkerk m.verkerk@erasmusmc...
Thu Sep 22 06:09:51 CDT 2011


Dear all,

Maybe someone has experienced this problem before.

I was able to build and install numpy in a seperate python 2.7 folder on 
our cluster. When I try to import numpy I get the following error:


$ /software/Python-2.7.2/bin/python -c 'import numpy; numpy.test()'
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File 
"/illumina/software/Python-2.7.2/lib/python2.7/site-packages/numpy/__init__.py", 
line 137, in <module>
     import add_newdocs
   File 
"/illumina/software/Python-2.7.2/lib/python2.7/site-packages/numpy/add_newdocs.py", 
line 9, in <module>
     from numpy.lib import add_newdoc
   File 
"/illumina/software/Python-2.7.2/lib/python2.7/site-packages/numpy/lib/__init__.py", 
line 13, in <module>
     from polynomial import *
   File 
"/illumina/software/Python-2.7.2/lib/python2.7/site-packages/numpy/lib/polynomial.py", 
line 17, in <module>
     from numpy.linalg import eigvals, lstsq
   File 
"/illumina/software/Python-2.7.2/lib/python2.7/site-packages/numpy/linalg/__init__.py", 
line 48, in <module>
     from linalg import *
   File 
"/illumina/software/Python-2.7.2/lib/python2.7/site-packages/numpy/linalg/linalg.py", 
line 23, in <module>
     from numpy.linalg import lapack_lite
ImportError: libptf77blas.so.3: cannot open shared object file: No such 
file or directory


In the __config.py file the folder where libptf77 should be is present.

Any suggestions?

Regards,
Marijn


More information about the NumPy-Discussion mailing list