From: Kptain <kaptain.biwouak@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Numpy 1.12.1 setup issue (targetting Python 3.6.1) from Cygwin 2.8.0
Date: Mon, 17 Apr 2017 17:59:00 -0000 [thread overview]
Message-ID: <1492423280653-133510.post@n5.nabble.com> (raw)
In-Reply-To: <c121be04-b63e-2854-689f-7888c0c42fa5@cs.umass.edu>
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,
--
View this message in context: http://cygwin.1069669.n5.nabble.com/Numpy-1-12-1-setup-issue-targetting-Python-3-6-1-from-Cygwin-2-8-0-tp133485p133510.html
Sent from the Cygwin list mailing list archive at Nabble.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
next prev parent reply other threads:[~2017-04-17 10:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-16 12:44 Kptain
2017-04-16 18:22 ` Marco Atzeri
2017-04-16 18:24 ` Kptain
2017-04-16 19:03 ` Eliot Moss
2017-04-17 17:59 ` Kptain [this message]
2017-04-25 18:07 ` Erik Bray
2017-04-26 1:51 ` Eliot Moss
2017-04-26 8:19 ` Brian Inglis
2017-04-26 9:20 ` Eliot Moss
2017-04-26 15:21 ` Kptain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1492423280653-133510.post@n5.nabble.com \
--to=kaptain.biwouak@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).