X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=hwDJq6P8xXM5Bk3YoxxYjdglL/R8BYwtcD36XQ1oVNz FKsFPbjV3z+2NdMHUnuATw3triZe99w0ROtB9mK05I7E7Tr1TCiTvK3mb9+5ZvaD CoKts3wbVu6XeppBNnSGP8Xb0C9KSnUQ7t4ATGZlYz0ZqV5saLTmJivJ1Vo9fhcY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=SCJ0ByCKWSyUdVvryC5tOKE1NLk=; b=wbW899aiPhs0qUhSl lcchF4n85mv0KXWiQPAQ6j/A7BagGpbps0ZYFX9DDqX/NTz4OWluSyDRgSky3SKI ZQyedTvoivTQgPSXfGcjp5v1/X9vj8VV0qJV++b01q7+8jdx4rM3HCzXreRQuiAB ooIiAED1QUvpg0xwTeIGtu7xXM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_YG autolearn=ham version=3.3.1 X-Received: by 10.14.119.196 with SMTP id n44mr714817eeh.73.1369418105930; Fri, 24 May 2013 10:55:05 -0700 (PDT) Message-ID: <519FA977.9060704@gmail.com> Date: Fri, 24 May 2013 19:55:03 +0200 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problem importing numpy in python 2.7.3 References: <1369415587 DOT 34434 DOT YahooMailNeo AT web161203 DOT mail DOT bf1 DOT yahoo DOT com> In-Reply-To: <1369415587.34434.YahooMailNeo@web161203.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 "", line 1, in > File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 137, in > import add_newdocs > File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", > line 9, > in > from numpy.lib import add_newdoc > File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in > 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 > from linalg import * > File "/usr/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 23, in > 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