[Numpy-discussion] numpy import on x86_64 arch

Vincent Thierion vincent.thierion@ema...
Fri Apr 10 06:14:32 CDT 2009


I import numpy module (numpy-1.0.4) on a x86_64 machine (on which I don't
have any root privileges) after having install it thanks to python "setup.py
install --prefix=../numpy". In this manner, I obtain a 64 bits compatible
numpy library.
(the "numpy" folder used for install is created just before install process)

I had the following error :

*    import numpy
  File "../numpy/lib64/python2.3/site-packages/numpy/__init__.py", line 43,
in ?
  File "../numpy/lib64/python2.3/site-packages/numpy/linalg/__init__.py",
line 4, in ?
  File "../numpy/lib64/python2.3/site-packages/numpy/linalg/linalg.py", line
25, in ?
ImportError: liblapack.so.3: cannot open shared object file: No such file or

*I looked for liblapack.so.3 and find it in /usr/*lib*/liblapack.so.3. It
seems it doesn't work because numpy 64 bits version seems to need /usr/*
lib64*/liblapack.so.3. That I tested in other machine and it works when
numpy can find /usr/*lib64*/liblapack.so.3.

So is there a solution to use numpy 64 bits version with a
or is it absolutly necessary to install lapack 64 bits version ?

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090410/98240abd/attachment.html 

More information about the Numpy-discussion mailing list