This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problem importing numpy in python 2.7.3
- From: jose milovich <josem11 at yahoo dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 24 May 2013 10:13:07 -0700 (PDT)
- Subject: Problem importing numpy in python 2.7.3
- Reply-to: jose milovich <josem11 at yahoo dot com>
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
what to do if this is the case.
Jose L. Milovich
josem11@yahoo.com
--
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