delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/24/13:55:23

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <marco DOT atzeri AT gmail DOT com>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019