X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14EFB388A815 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1592782112; bh=vAbz9mfnh+mOJ/Cg6nPnqmdr7cAwkNyByibBDH5z8no=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ONqu808HTAipEFL8/I4079xR2y9Ts78kbXUJ2Cs/F8WK4PGtRVvaZTIw1nNQAwJ9C laIJOuKE8E3nZvEuimWTnPFDKrNrJRCDboT+ZpuRLwNiOf7OvfhQoYzxZq8AlswvGV N90/W0YbkfxXzuAbxn5SCafmT2Nblgr2JA9Xjl5I= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AE3BE38708D0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=k6lPJKbOFeZ39X5cT9edcFN/6GaaDvKaGMfQtWonjEI=; b=Nk+1qL1UU823NtzcDECxhfnzW1JKteMMpW7c2QCI4HEz8XpnH8PlkpLXWb1NnePtG9 CuVSirSJWeuB4vLak/OiOjmniPhgQUE2j5a/DLeLeLAHLk54YvftO6BFjDFpHuSJWg5G XYRwBiLOh+gNmx2dyOxmH9kFmZCpNJrRCHVsU9V+LEWDue2YD8dDBR9QHt+tYkcZYvVg 2HShcYmAkIrnoOg1a1ogfGKVkKPBu7ikzSDD8fNyVoSMC80/QznVi/CjKVp4OjKyk+oB xRd+qzMMlMoH0X2tKxcwQJZAmnPRg0Ed7y+plfw0dlICMCPaga9K9/ufpa6C3RXSy0I7 uc2A== X-Gm-Message-State: AOAM5329r0UJUZb68EWD3NFc1t5qq2BoN1fULcY+RkvbV42mvu0cu/+r YoBoJwum3QhLQ/G88sDgAjh+vRD/IgdtKgcl48pBD/wGBww= X-Google-Smtp-Source: ABdhPJxUCgAu8zWkhBW1ZLeFMwIzurdhP+egiTJLyUXdE2iCDxUnLD00uGD0A6rpb9RhbNtYZ/e1lTVUO+LV8jlcaXs= X-Received: by 2002:a2e:7407:: with SMTP id p7mr7110935ljc.98.1592782102266; Sun, 21 Jun 2020 16:28:22 -0700 (PDT) MIME-Version: 1.0 References: <86888556-a7c2-501f-c734-f0085ea6bdf5 AT gmail DOT com> <15e60aa4-000e-2d15-7704-186d594fbfd4 AT SystematicSw DOT ab DOT ca> In-Reply-To: <15e60aa4-000e-2d15-7704-186d594fbfd4@SystematicSw.ab.ca> Date: Sun, 21 Jun 2020 16:28:11 -0700 Message-ID: Subject: Re: What's the official state of Python module scipy in Cygwin? To: The Cygwin Mailing List X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: My Name via Cygwin Reply-To: My Name Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 05LNSxxc010943 B.I., thank you, but your recipe did not work for me: ================== $ python3.7 -m pip install scipy Collecting scipy Using cached scipy-1.5.0.tar.gz (25.6 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3.7 /usr/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-u0tmgezi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools 'Cython>=0.29.18' 'numpy==1.14.5; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'pybind11>=2.4.3' cwd: None Complete output (351 lines): Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.8" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment Collecting wheel Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB) Collecting setuptools Using cached setuptools-47.3.1-py3-none-any.whl (582 kB) Collecting Cython>=0.29.18 Using cached Cython-0.29.20-py2.py3-none-any.whl (973 kB) Collecting numpy==1.14.5 Using cached numpy-1.14.5.zip (4.9 MB) Collecting pybind11>=2.4.3 Using cached pybind11-2.5.0-py2.py3-none-any.whl (296 kB) Using legacy setup.py install for numpy, since package 'wheel' is not installed. Installing collected packages: wheel, setuptools, Cython, numpy, pybind11 Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wizs3z2z/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-wizs3z2z/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qmbtrkjp/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-u0tmgezi/overlay --compile --install-headers /tmp/pip-build-env-u0tmgezi/overlay/include/python3.7m/numpy cwd: /tmp/pip-install-wizs3z2z/numpy/ Complete output (326 lines): Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: customize UnixCCompiler libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE blis_info: customize UnixCCompiler libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_info: customize UnixCCompiler customize UnixCCompiler libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=ATLAS customize UnixCCompiler libraries tatlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE atlas_3_10_blas_info: customize UnixCCompiler libraries satlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS customize UnixCCompiler libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE atlas_blas_info: customize UnixCCompiler libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE /tmp/pip-install-wizs3z2z/numpy/numpy/distutils/system_info.py:624: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() blas_info: customize UnixCCompiler customize UnixCCompiler C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 creating /tmp/tmploe9v3xi/tmp creating /tmp/tmploe9v3xi/tmp/tmploe9v3xi compile options: '-I/usr/include -c' gcc: /tmp/tmploe9v3xi/source.c gcc /tmp/tmploe9v3xi/tmp/tmploe9v3xi/source.o -L/usr/lib -lcblas -o /tmp/tmploe9v3xi/a.out.exe /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lcblas collect2: error: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lcblas collect2: error: ld returned 1 exit status gcc /tmp/tmploe9v3xi/tmp/tmploe9v3xi/source.o -L/usr/lib -lblas -o /tmp/tmploe9v3xi/a.out.exe customize UnixCCompiler FOUND: libraries = ['blas', 'blas'] library_dirs = ['/usr/lib'] include_dirs = ['/usr/include'] language = c define_macros = [('HAVE_CBLAS', None)] FOUND: define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] libraries = ['blas', 'blas'] library_dirs = ['/usr/lib'] include_dirs = ['/usr/include'] language = c /bin/sh: svnversion: command not found non-existing path in 'numpy/distutils': 'site.cfg' /bin/sh: svnversion: command not found F2PY Version 2 lapack_opt_info: lapack_mkl_info: customize UnixCCompiler libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_lapack_info: customize UnixCCompiler customize UnixCCompiler libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_clapack_info: customize UnixCCompiler customize UnixCCompiler libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/'] NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS customize UnixCCompiler libraries tatlas,tatlas not found in /usr/local/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/local/lib customize UnixCCompiler libraries tatlas,tatlas not found in /usr/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/lib customize UnixCCompiler libraries tatlas,tatlas not found in /usr/lib/ customize UnixCCompiler libraries lapack_atlas not found in /usr/lib/ NOT AVAILABLE atlas_3_10_info: customize UnixCCompiler libraries satlas,satlas not found in /usr/local/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/local/lib customize UnixCCompiler libraries satlas,satlas not found in /usr/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/lib customize UnixCCompiler libraries satlas,satlas not found in /usr/lib/ customize UnixCCompiler libraries lapack_atlas not found in /usr/lib/ NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS customize UnixCCompiler libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/local/lib customize UnixCCompiler libraries ptf77blas,ptcblas,atlas not found in /usr/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/lib customize UnixCCompiler libraries ptf77blas,ptcblas,atlas not found in /usr/lib/ customize UnixCCompiler libraries lapack_atlas not found in /usr/lib/ NOT AVAILABLE atlas_info: customize UnixCCompiler libraries f77blas,cblas,atlas not found in /usr/local/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/local/lib customize UnixCCompiler libraries f77blas,cblas,atlas not found in /usr/lib customize UnixCCompiler libraries lapack_atlas not found in /usr/lib customize UnixCCompiler libraries f77blas,cblas,atlas not found in /usr/lib/ customize UnixCCompiler libraries lapack_atlas not found in /usr/lib/ NOT AVAILABLE lapack_info: customize UnixCCompiler customize UnixCCompiler FOUND: libraries = ['lapack', 'lapack'] library_dirs = ['/usr/lib'] language = f77 FOUND: define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] libraries = ['lapack', 'lapack', 'blas', 'blas'] library_dirs = ['/usr/lib'] language = c include_dirs = ['/usr/include'] /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building py_modules sources creating build creating build/src.cygwin-3.1.5-x86_64-3.7 creating build/src.cygwin-3.1.5-x86_64-3.7/numpy creating build/src.cygwin-3.1.5-x86_64-3.7/numpy/distutils building library "npymath" sources get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95']' customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize CompaqVisualFCompiler Found executable /usr/bin/DF customize IntelItaniumVisualFCompiler Could not locate executable efl customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using config C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.7m -c' gcc: _configtest.c gcc _configtest.o -o _configtest.exe success! removing: _configtest.c _configtest.o _configtest.exe C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.7m -c' gcc: _configtest.c _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch] 1 | int exp (void); | ^~~ _configtest.c:1:1: note: ‘exp’ is declared in header ‘’ +++ |+#include 1 | int exp (void); gcc _configtest.o -o _configtest.exe success! removing: _configtest.c _configtest.o _configtest.exe creating build/src.cygwin-3.1.5-x86_64-3.7/numpy/core creating build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src creating build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npymath conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npymath/npy_math_internal.h adding 'build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npymath' to include_dirs. conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npymath/ieee754.c conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npymath/npy_math_complex.c None - nothing done with h_files = ['build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npymath/npy_math_internal.h'] building library "npysort" sources creating build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npysort conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npysort/quicksort.c conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npysort/mergesort.c conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npysort/heapsort.c creating build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/private conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/private/npy_partition.h adding 'build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/private' to include_dirs. conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npysort/selection.c conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/private/npy_binsearch.h conv_template:> build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/npysort/binsearch.c None - nothing done with h_files = ['build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/private/npy_partition.h', 'build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/src/private/npy_binsearch.h'] building extension "numpy.core._dummy" sources Generating build/src.cygwin-3.1.5-x86_64-3.7/numpy/core/include/numpy/config.h C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/build=/usr/src/debug/python37-3.7.7-1 -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/python/python37/python37-3.7.7-1.x86_64/src/Python-3.7.7=/usr/src/debug/python37-3.7.7-1 compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.7m -c' gcc: _configtest.c _configtest.c:1:10: fatal error: Python.h: No such file or directory 1 | #include | ^~~~~~~~~~ compilation terminated. _configtest.c:1:10: fatal error: Python.h: No such file or directory 1 | #include | ^~~~~~~~~~ compilation terminated. failure. removing: _configtest.c _configtest.o Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-wizs3z2z/numpy/setup.py", line 394, in setup_package() File "/tmp/pip-install-wizs3z2z/numpy/setup.py", line 386, in setup_package setup(**metadata) File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/install.py", line 36, in setuptools_run return distutils_install.run(self) File "/usr/lib/python3.7/distutils/command/install.py", line 545, in run self.run_command('build') File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/build.py", line 47, in run old_build.run(self) File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/build_src.py", line 148, in run self.build_sources() File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/build_src.py", line 165, in build_sources self.build_extension_sources(ext) File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/build_src.py", line 324, in build_extension_sources sources = self.generate_sources(sources, ext) File "/tmp/pip-install-wizs3z2z/numpy/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 422, in generate_config_h moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir) File "numpy/core/setup.py", line 48, in check_types out = check_types(*a, **kw) File "numpy/core/setup.py", line 281, in check_types "install {0}-dev|{0}-devel.".format(python)) SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel. ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wizs3z2z/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-wizs3z2z/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qmbtrkjp/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-u0tmgezi/overlay --compile --install-headers /tmp/pip-build-env-u0tmgezi/overlay/include/python3.7m/numpy Check the logs for full command output. ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3.7 /usr/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-u0tmgezi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools 'Cython>=0.29.18' 'numpy==1.14.5; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'pybind11>=2.4.3' Check the logs for full command output. $ ================== On Sun, Jun 21, 2020 at 12:37 PM Brian Inglis < Brian DOT Inglis AT systematicsw DOT ab DOT ca> wrote: > On 2020-06-21 12:31, My Name via Cygwin wrote: > > (M.A., I've figured out how to reply to the Cygwin Mailing List on these. > > If you'd like me to remove your name from the list of addressees in my > > future emails, please let me know? I have not found comprehensive docs > for > > this mailing-list software, so I'm clueless.) > > > > I was delighted when Numpy first showed up as an official Cygwin Package > > and am using Numpy in Python 3.7 in Cygwin now. I've realized that the > > latest Cygwin versions of Python (now 3.8) are often incomplete, but > that's > > no problem for me. I'm also able to use Sympy in Cygwin by installing > Sympy > > via Pip in python3.7 in Cygwin. > > > > Scipy includes functions outside Numpy and Sympy that would be useful to > me > > at least, and I regularly rely on JupyterLab; so for those, I've been > > resorting to Windows 10 versions of Python3. > > > > I should have clarified in my original post in this thread, when I did > > happen to have success installing full Scipy in Cygwin, it was with this > > command: > > > > $ python3.7 -m pip install scipy > > > > When I did have that success installing Scipy in Cygwin, I later realized > > that whether Cygwin package gcc-fortran was installed locally made a > > difference. Without gcc-fortran installed locally, the pip command would > > fail to install Scipy. When I run that pip command now, I don't > comprehend > > the output, but I recognize that the Scipy installation has failed, even > > though I do have Cygwin's gcc-fortran installed: > > > > ================================== > > $ python3.7 -m pip install scipy > > Collecting scipy > > Downloading scipy-1.5.0.tar.gz (25.6 MB) > > |████████████████████████████████| 25.6 MB 11.8 MB/s > > Installing build dependencies ... done > > Getting requirements to build wheel ... done > > Preparing wheel metadata ... error > > ERROR: Command errored out with exit status 1: > > command: /usr/bin/python3.7 > > /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py > > prepare_metadata_for_build_wheel /tmp/tmpc3ao3jht > > cwd: /tmp/pip-install-593dlngp/scipy > > Complete output (137 lines): > > lapack_opt_info: > > lapack_mkl_info: > > customize UnixCCompiler > > libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', > > '/usr/lib/'] > > NOT AVAILABLE > > > > openblas_lapack_info: > > customize UnixCCompiler > > customize UnixCCompiler > > libraries openblas not found in ['/usr/local/lib', '/usr/lib', > > '/usr/lib/'] > > NOT AVAILABLE > > > > openblas_clapack_info: > > customize UnixCCompiler > > customize UnixCCompiler > > libraries openblas,lapack not found in ['/usr/local/lib', > '/usr/lib', > > '/usr/lib/'] > > NOT AVAILABLE > > > > atlas_3_10_threads_info: > > Setting PTATLAS=ATLAS > > customize UnixCCompiler > > libraries tatlas,tatlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries tatlas,tatlas not found in /usr/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib > > customize UnixCCompiler > > libraries tatlas,tatlas not found in /usr/lib/ > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib/ > > > > NOT AVAILABLE > > > > atlas_3_10_info: > > customize UnixCCompiler > > libraries satlas,satlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries satlas,satlas not found in /usr/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib > > customize UnixCCompiler > > libraries satlas,satlas not found in /usr/lib/ > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib/ > > > > NOT AVAILABLE > > > > atlas_threads_info: > > Setting PTATLAS=ATLAS > > customize UnixCCompiler > > libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries ptf77blas,ptcblas,atlas not found in /usr/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib > > customize UnixCCompiler > > libraries ptf77blas,ptcblas,atlas not found in /usr/lib/ > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib/ > > > > NOT AVAILABLE > > > > atlas_info: > > customize UnixCCompiler > > libraries f77blas,cblas,atlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/local/lib > > customize UnixCCompiler > > libraries f77blas,cblas,atlas not found in /usr/lib > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib > > customize UnixCCompiler > > libraries f77blas,cblas,atlas not found in /usr/lib/ > > customize UnixCCompiler > > libraries lapack_atlas not found in /usr/lib/ > > > > NOT AVAILABLE > > > > lapack_info: > > customize UnixCCompiler > > libraries lapack not found in ['/usr/local/lib', '/usr/lib', > > '/usr/lib/'] > > NOT AVAILABLE > > > > lapack_src_info: > > NOT AVAILABLE > > > > NOT AVAILABLE > > > > setup.py:462: UserWarning: Unrecognized setuptools command > ('dist_info > > --egg-base /tmp/pip-modern-metadata-ib3nkeed'), proceeding with > generating > > Cython sources and expanding templates > > ' '.join(sys.argv[1:]))) > > Running from SciPy source directory. > > > > > /tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:624: > > UserWarning: > > Atlas (http://math-atlas.sourceforge.net/) libraries not found. > > Directories to search for the libraries can be specified in the > > numpy/distutils/site.cfg file (section [atlas]) or by setting > > the ATLAS environment variable. > > self.calc_info() > > > > > /tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:624: > > UserWarning: > > Lapack (http://www.netlib.org/lapack/) libraries not found. > > Directories to search for the libraries can be specified in the > > numpy/distutils/site.cfg file (section [lapack]) or by setting > > the LAPACK environment variable. > > self.calc_info() > > > > > /tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:624: > > UserWarning: > > Lapack (http://www.netlib.org/lapack/) sources not found. > > Directories to search for the sources can be specified in the > > numpy/distutils/site.cfg file (section [lapack_src]) or by > setting > > the LAPACK_SRC environment variable. > > self.calc_info() > > Traceback (most recent call last): > > File > > "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", > line > > 280, in > > main() > > File > > "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", > line > > 263, in main > > json_out['return_val'] = hook(**hook_input['kwargs']) > > File > > "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", > line > > 133, in prepare_metadata_for_build_wheel > > return hook(metadata_directory, config_settings) > > File > > > "/tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", > > line 157, in prepare_metadata_for_build_wheel > > self.run_setup() > > File > > > "/tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", > > line 249, in run_setup > > self).run_setup(setup_script=setup_script) > > File > > > "/tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", > > line 142, in run_setup > > exec(compile(code, __file__, 'exec'), locals()) > > File "setup.py", line 583, in > > setup_package() > > File "setup.py", line 579, in setup_package > > setup(**metadata) > > File > > > "/tmp/pip-build-env-znryb617/overlay/lib/python3.7/site-packages/numpy/distutils/core.py", > > line 135, in setup > > config = configuration() > > File "setup.py", line 477, in configuration > > raise NotFoundError(msg) > > numpy.distutils.system_info.NotFoundError: No lapack/blas resources > > found. > > ---------------------------------------- > > ERROR: Command errored out with exit status 1: /usr/bin/python3.7 > > /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py > > prepare_metadata_for_build_wheel /tmp/tmpc3ao3jht Check the logs for full > > command output. > > > Going by an old memory of mine, I recall that parts of Scipy rely on > BLAS, > > https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms, and I > read > > somewhere that that dependency adds to the difficulty of porting Scipy to > > new platforms. > Try installing or upgrading liblapack-devel liblapack-doc libopenblas > openblas-doc and see how far that gets you. > I remember coming across atlas elsewhere, but only know it provides some > tuned > BLAS and LAPACK routines. > > -- > Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada > > This email may be disturbing to some readers as it contains > too much technical detail. Reader discretion is advised. > [Data in IEC units and prefixes, physical quantities in SI.] > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple