[Numpy-discussion] Import numpy fails on cygwin python

Olivia Cheronet cheronetolivia@yahoo....
Wed Dec 2 03:04:31 CST 2009


I have built numpy (updated to the trunk) for my cygwin (1.5.25) Python (2.5.2).
However, testing fails when I try to import numpy in python (see output below).

I have been searching around for a solution, but everything has failed so far...

I would be grateful for any advice.

Thank you,


$ python
Python 2.5.2 (r252:60911, Dec  2 2008, 09:26:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 132, in <modul
    import add_newdocs
  File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in <modu
    from lib import add_newdoc
  File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 13, in <mo
    from polynomial import *
  File "/usr/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 17, in <
    from numpy.linalg import eigvals, lstsq
  File "/usr/lib/python2.5/site-packages/numpy/linalg/__init__.py", line 47, in
    from linalg import *
  File "/usr/lib/python2.5/site-packages/numpy/linalg/linalg.py", line 22, in <m
    from numpy.linalg import lapack_lite
ImportError: No such file or directory


More information about the NumPy-Discussion mailing list