Web lists-archives.com

Re: Numpy 1.12.1 setup issue (targetting Python 3.6.1) from Cygwin 2.8.0

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:
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])

python3 numpy_sample.py
Traceback (most recent call last):
File "numpy_sample.py", line 1, in
import numpy as np
line 142, in
from . import add_newdocs
line 13, in
from numpy.lib import add_newdoc
line 18, in
from .polynomial import *
line 20, in
from numpy.linalg import eigvals, lstsq, inv
line 51, in
from .linalg import *
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:

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