delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/04/25/12:34:20

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=Sz1QqQ2
uqUf9/8aNKl7jHNsxo8gTJYDt5Yy71rDUqGKCp/0f5Y54hlsyHkwyIoPnVmD2YeN
AroQHh4cvt1cGouoHUtaynXn/QkS/F618l7cQ0746ND172diRULVi9QNEiaS/FS6
X+Hp4mCOd8VShvb1YPHwUFm6k+djm5Z+sAgA=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=v/Avhn0Rxm+YL
LFg44jpNBAzD3s=; b=rLUnL3x3IYhl3aFjGJZwOih6vVncS8LuNeRGQTtW1yTxJ
ryVJY0UHh9y75Y4TK8v+ySl3KXCRU8vbyD1fSPeONZmlghJ9fjqhRXU1piv5FJXy
SwNWRice6GkQbse3U/zuKotjtG+fdSRcfY1S+8q7pqN6oVUQOqwKj7nFxOCeAI=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=highlights, erik, Erik, Installing
X-HELO: mail-yw0-f178.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=a4M01QC4TrhYiNN6lmU1vm26w98akjqDD+kBe9+zz7Q=; b=Qi5jYNb2X1jx8UEQLsviiHOrsR5lb+B1BPtrm+Wu0TMd339SUXfdOtsOBaVcwmM2/K naMVnfXmE10i1hqrkgCMOGJckD865JdAxSbGSvOzKJJDipsnvEzgBbg6HL3/8pT1MyCB WzHLluf56QMffv1dRQAeg70Q2nEf76rtYSD/j7oyvZxezuHB4GhCXoQLtv/t2GjoZFbx X92AZtLcaW5bchIVOEAwqcSC5+HVJnN0UO/81jbEwX9N8iTm9weTqSOLCpJvEbf/ScmV b12eRpWQrRLS4IkT5WbNpJ5dIhFtZxlnaqYLwxctP7DwIrDf6jw/uy6rz1B6yWWWAFFG qDRQ==
X-Gm-Message-State: AN3rC/5xjyFKCUSx/n35uCHxC2FpsHgBYHIO6L1MEbAX8T+Ur9fXmWXf Iie6JHfe5mbXCPCQYg2lBNSq3J1KEwBK
X-Received: by 10.129.160.14 with SMTP id x14mr9576914ywg.154.1493138042243; Tue, 25 Apr 2017 09:34:02 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <1492423280653-133510.post@n5.nabble.com>
References: <1492335890346-133485 DOT post AT n5 DOT nabble DOT com> <1492342647795-133490 DOT post AT n5 DOT nabble DOT com> <c121be04-b63e-2854-689f-7888c0c42fa5 AT cs DOT umass DOT edu> <1492423280653-133510 DOT post AT n5 DOT nabble DOT com>
From: Erik Bray <erik DOT m DOT bray AT gmail DOT com>
Date: Tue, 25 Apr 2017 18:34:01 +0200
Message-ID: <CAOTD34YQA4=VyCuRfs+qmC=bEx5Jy7nN8nDQQ6-+Z=X=9xQd3Q@mail.gmail.com>
Subject: Re: Numpy 1.12.1 setup issue (targetting Python 3.6.1) from Cygwin 2.8.0
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Mon, Apr 17, 2017 at 12:01 PM, Kptain <kaptain DOT biwouak AT gmail DOT com> wrote:
> I have installed python-dev package on Cygwin.
>
> It seems to be better as now I am able to build wheels for collected
> packages: numpy
>
> $ pip3 install numpy
> Collecting numpy
> Using cached numpy-1.12.1.zip
> Building wheels for collected packages: numpy
> Running setup.py bdist_wheel for numpy ... done
> Stored in directory:
> /cygdrive/d/ARCHITECTURE/.cache/pip/wheels/50/b5/d0/3994af801e0786dfb41a9856ddf85d69c54f233e749935d536
> Successfully built numpy
> Installing collected packages: numpy
> Successfully installed numpy-1.12.1
> <<
>
> No issue detected also from from pip checker:
>
> $ pip3 check numpy
> No broken requirements found.
> <<
>
> However, I am still not able to run my numpy sample script:
>
> (short extract)
> import numpy as np
>
> a = np.array([1,2,3,4])
> print(a)
>
> python3 numpy_sample.py
> Traceback (most recent call last):
> File "numpy_sample.py", line 1, in
> import numpy as np
> File
> "/cygdrive/d/GFMWK_NEXT/base/cygwin/lib/python3.6/site-packages/numpy/init.py",
> line 142, in
> from . import add_newdocs
> File
> "/cygdrive/d/GFMWK_NEXT/base/cygwin/lib/python3.6/site-packages/numpy/add_newdocs.py",
> line 13, in
> from numpy.lib import add_newdoc
> File
> "/cygdrive/d/GFMWK_NEXT/base/cygwin/lib/python3.6/site-packages/numpy/lib/init.py",
> line 18, in
> from .polynomial import *
> File
> "/cygdrive/d/GFMWK_NEXT/base/cygwin/lib/python3.6/site-packages/numpy/lib/polynomial.py",
> line 20, in
> from numpy.linalg import eigvals, lstsq, inv
> File
> "/cygdrive/d/GFMWK_NEXT/base/cygwin/lib/python3.6/site-packages/numpy/linalg/init.py",
> line 51, in
> from .linalg import *
> File
> "/cygdrive/d/GFMWK_NEXT/base/cygwin/lib/python3.6/site-packages/numpy/linalg/linalg.py",
> line 29, in
> from numpy.linalg import lapack_lite, _umath_linalg
> ImportError: No such file or directory
> <<
>
> I am not also able to find any lapack library for python, except cygwin
> packages below also installed:
> fort77
> libopenblas
> liblapack0
> liblapack-devel
>
> Then, It is not clear what is missing : other cygwin package or python3
> dependency as pip checker highlights nothing missing.
>
> Thanks again for your help,

I've just started having this problem too.  There appears to be a bug
in the latest version of the liblapack0 package, because the import
lib liblapack.dll.a lists the lapack DLL name as "cyglapack.dll", when
it should be "cyglapack-0.dll".

Copying /lib/lapack/cyglapack-0.dll to /lib/lapack/cyglapack.dll works
as a workaround...

Thanks,
Erik

--
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