This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem importing numpy in python 2.7.3

Il 5/24/2013 7:13 PM, jose milovich ha scritto:

I just installed cygwin 1.17.18-1 in a windows box running windows 7 enterprise.

I have used in the past cygwin 1.15.1 with no problems on a windows XP 32 bit machine.

When I import numpy (1.6.2) into python 2.7.3  I get the following message

Python 2.7.3 (default, Dec 18 2012, 13:50:09)
[GCC 4.5.3] 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.7/site-packages/numpy/", line 137, in <modul e>
     import add_newdocs
   File "/usr/lib/python2.7/site-packages/numpy/",
line 9,
in <modu le>
     from numpy.lib import add_newdoc
   File "/usr/lib/python2.7/site-packages/numpy/lib/", line 13, in <mo dule>
     from polynomial import *
   File "/usr/lib/python2.7/site-packages/numpy/lib/", line 17, in < module>
     from numpy.linalg import eigvals, lstsq
   File "/usr/lib/python2.7/site-packages/numpy/linalg/", line 48, in  <module>
     from linalg import *
   File "/usr/lib/python2.7/site-packages/numpy/linalg/", line 23, in <m odule>
     from numpy.linalg import lapack_lite
ImportError: No such file or directory

I verified that lapack_lite.dll is in the appropriate place but not sure why it does not recognize it.

I have read on the web that there was at some time a problem with cyggfortran-3.dll but not sure
solved long time ago

what to do if this is the case.

what it the output of:

$ cygcheck /usr/lib/python2.7/site-packages/numpy/linalg/lapack_lite.dll

on my system is:

Jose L. Milovich

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]