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
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/__init__.py", line 137, in <modul e>
     import add_newdocs
   File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py",
line 9,
in <modu le>
     from numpy.lib import add_newdoc
   File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <mo dule>
     from polynomial import *
   File "/usr/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 17, in < module>
     from numpy.linalg import eigvals, lstsq
   File "/usr/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 48, in  <module>
     from linalg import *
   File "/usr/lib/python2.7/site-packages/numpy/linalg/linalg.py", 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:
E:\cygwin\lib\python2.7\site-packages\numpy\linalg\lapack_lite.dll
  E:\cygwin\bin\cygwin1.dll
    C:\Windows\system32\KERNEL32.dll
[cut]
  E:\cygwin\lib\lapack\cyglapack-0.dll
    E:\cygwin\bin\cyggcc_s-1.dll
    E:\cygwin\bin\cyggfortran-3.dll
    E:\cygwin\lib\lapack\cygblas-0.dll
  E:\cygwin\bin\libpython2.7.dll



Jose L. Milovich


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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