2021-08-20T10:19:24.5721583Z + pip install numpy scipy openfermion
2021-08-20T10:22:30.9335760Z ERROR: Command errored out with exit status 1:
2021-08-20T10:22:30.9338554Z command: /tmp/tmp.G6kDQp2bEC/venv/bin/python /tmp/tmp.G6kDQp2bEC/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpq0rspzxv
2021-08-20T10:22:30.9341037Z cwd: /tmp/pip-install-27oarnbz/scipy_1faa84663d224ca682bca876db764906
2021-08-20T10:22:30.9342137Z Complete output (144 lines):
2021-08-20T10:22:30.9348204Z setup.py:461: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-8gwycyhf'), proceeding with generating Cython sources and expanding templates
2021-08-20T10:22:30.9350406Z warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
2021-08-20T10:22:30.9351079Z Running from SciPy source directory.
2021-08-20T10:22:30.9351511Z lapack_opt_info:
2021-08-20T10:22:30.9351864Z lapack_mkl_info:
2021-08-20T10:22:30.9352270Z customize UnixCCompiler
2021-08-20T10:22:30.9353181Z libraries mkl_rt not found in ['/tmp/tmp.G6kDQp2bEC/venv/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
2021-08-20T10:22:30.9353839Z NOT AVAILABLE
2021-08-20T10:22:30.9354137Z
2021-08-20T10:22:30.9354466Z openblas_lapack_info:
2021-08-20T10:22:30.9355355Z libraries openblas not found in ['/tmp/tmp.G6kDQp2bEC/venv/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
2021-08-20T10:22:30.9356124Z NOT AVAILABLE
2021-08-20T10:22:30.9356428Z
2021-08-20T10:22:30.9356759Z openblas_clapack_info:
2021-08-20T10:22:30.9357713Z libraries openblas,lapack not found in ['/tmp/tmp.G6kDQp2bEC/venv/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
2021-08-20T10:22:30.9358440Z NOT AVAILABLE
2021-08-20T10:22:30.9358737Z
2021-08-20T10:22:30.9359019Z flame_info:
2021-08-20T10:22:30.9359839Z libraries flame not found in ['/tmp/tmp.G6kDQp2bEC/venv/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
2021-08-20T10:22:30.9360496Z NOT AVAILABLE
2021-08-20T10:22:30.9360792Z
2021-08-20T10:22:30.9361107Z accelerate_info:
2021-08-20T10:22:30.9361467Z NOT AVAILABLE
2021-08-20T10:22:30.9361766Z
2021-08-20T10:22:30.9362081Z atlas_3_10_threads_info:
2021-08-20T10:22:30.9362470Z Setting PTATLAS=ATLAS
2021-08-20T10:22:30.9363035Z libraries lapack_atlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9363757Z libraries tatlas,tatlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9364416Z libraries lapack_atlas not found in /usr/local/lib64
2021-08-20T10:22:30.9365190Z libraries tatlas,tatlas not found in /usr/local/lib64
2021-08-20T10:22:30.9365785Z libraries lapack_atlas not found in /usr/local/lib
2021-08-20T10:22:30.9366371Z libraries tatlas,tatlas not found in /usr/local/lib
2021-08-20T10:22:30.9366960Z libraries lapack_atlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9367545Z libraries tatlas,tatlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9368121Z libraries lapack_atlas not found in /usr/lib64
2021-08-20T10:22:30.9368688Z libraries tatlas,tatlas not found in /usr/lib64
2021-08-20T10:22:30.9369245Z libraries lapack_atlas not found in /usr/lib
2021-08-20T10:22:30.9369788Z libraries tatlas,tatlas not found in /usr/lib
2021-08-20T10:22:30.9370352Z libraries lapack_atlas not found in /usr/lib/
2021-08-20T10:22:30.9370902Z libraries tatlas,tatlas not found in /usr/lib/
2021-08-20T10:22:30.9371733Z <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
2021-08-20T10:22:30.9372283Z NOT AVAILABLE
2021-08-20T10:22:30.9372585Z
2021-08-20T10:22:30.9372871Z atlas_3_10_info:
2021-08-20T10:22:30.9373388Z libraries lapack_atlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9374115Z libraries satlas,satlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9374783Z libraries lapack_atlas not found in /usr/local/lib64
2021-08-20T10:22:30.9375381Z libraries satlas,satlas not found in /usr/local/lib64
2021-08-20T10:22:30.9376075Z libraries lapack_atlas not found in /usr/local/lib
2021-08-20T10:22:30.9376685Z libraries satlas,satlas not found in /usr/local/lib
2021-08-20T10:22:30.9377276Z libraries lapack_atlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9377875Z libraries satlas,satlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9378450Z libraries lapack_atlas not found in /usr/lib64
2021-08-20T10:22:30.9379004Z libraries satlas,satlas not found in /usr/lib64
2021-08-20T10:22:30.9379566Z libraries lapack_atlas not found in /usr/lib
2021-08-20T10:22:30.9380119Z libraries satlas,satlas not found in /usr/lib
2021-08-20T10:22:30.9380671Z libraries lapack_atlas not found in /usr/lib/
2021-08-20T10:22:30.9381226Z libraries satlas,satlas not found in /usr/lib/
2021-08-20T10:22:30.9382008Z <class 'numpy.distutils.system_info.atlas_3_10_info'>
2021-08-20T10:22:30.9382527Z NOT AVAILABLE
2021-08-20T10:22:30.9382827Z
2021-08-20T10:22:30.9383137Z atlas_threads_info:
2021-08-20T10:22:30.9383538Z Setting PTATLAS=ATLAS
2021-08-20T10:22:30.9384105Z libraries lapack_atlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9384909Z libraries ptf77blas,ptcblas,atlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9385651Z libraries lapack_atlas not found in /usr/local/lib64
2021-08-20T10:22:30.9386328Z libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
2021-08-20T10:22:30.9386995Z libraries lapack_atlas not found in /usr/local/lib
2021-08-20T10:22:30.9387661Z libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
2021-08-20T10:22:30.9388330Z libraries lapack_atlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9388999Z libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9389658Z libraries lapack_atlas not found in /usr/lib64
2021-08-20T10:22:30.9390427Z libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
2021-08-20T10:22:30.9391042Z libraries lapack_atlas not found in /usr/lib
2021-08-20T10:22:30.9391656Z libraries ptf77blas,ptcblas,atlas not found in /usr/lib
2021-08-20T10:22:30.9392271Z libraries lapack_atlas not found in /usr/lib/
2021-08-20T10:22:30.9392882Z libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
2021-08-20T10:22:30.9393736Z <class 'numpy.distutils.system_info.atlas_threads_info'>
2021-08-20T10:22:30.9394270Z NOT AVAILABLE
2021-08-20T10:22:30.9394656Z
2021-08-20T10:22:30.9394934Z atlas_info:
2021-08-20T10:22:30.9395433Z libraries lapack_atlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9396570Z libraries f77blas,cblas,atlas not found in /tmp/tmp.G6kDQp2bEC/venv/lib
2021-08-20T10:22:30.9397250Z libraries lapack_atlas not found in /usr/local/lib64
2021-08-20T10:22:30.9397865Z libraries f77blas,cblas,atlas not found in /usr/local/lib64
2021-08-20T10:22:30.9398483Z libraries lapack_atlas not found in /usr/local/lib
2021-08-20T10:22:30.9399091Z libraries f77blas,cblas,atlas not found in /usr/local/lib
2021-08-20T10:22:30.9399692Z libraries lapack_atlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9400302Z libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
2021-08-20T10:22:30.9400896Z libraries lapack_atlas not found in /usr/lib64
2021-08-20T10:22:30.9401467Z libraries f77blas,cblas,atlas not found in /usr/lib64
2021-08-20T10:22:30.9402038Z libraries lapack_atlas not found in /usr/lib
2021-08-20T10:22:30.9402606Z libraries f77blas,cblas,atlas not found in /usr/lib
2021-08-20T10:22:30.9403169Z libraries lapack_atlas not found in /usr/lib/
2021-08-20T10:22:30.9403744Z libraries f77blas,cblas,atlas not found in /usr/lib/
2021-08-20T10:22:30.9404543Z <class 'numpy.distutils.system_info.atlas_info'>
2021-08-20T10:22:30.9405042Z NOT AVAILABLE
2021-08-20T10:22:30.9405332Z
2021-08-20T10:22:30.9405612Z lapack_info:
2021-08-20T10:22:30.9406525Z libraries lapack not found in ['/tmp/tmp.G6kDQp2bEC/venv/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
2021-08-20T10:22:30.9407196Z NOT AVAILABLE
2021-08-20T10:22:30.9407484Z
2021-08-20T10:22:30.9408381Z /tmp/pip-build-env-d2pxf9bw/overlay/lib/python3.10/site-packages/numpy/distutils/system_info.py:1858: UserWarning:
2021-08-20T10:22:30.9409395Z Lapack (http://www.netlib.org/lapack/) libraries not found.
2021-08-20T10:22:30.9410146Z Directories to search for the libraries can be specified in the
2021-08-20T10:22:30.9410828Z numpy/distutils/site.cfg file (section [lapack]) or by setting
2021-08-20T10:22:30.9411412Z the LAPACK environment variable.
2021-08-20T10:22:30.9412053Z return getattr(self, '_calc_info_{}'.format(name))()
2021-08-20T10:22:30.9412497Z lapack_src_info:
2021-08-20T10:22:30.9412839Z NOT AVAILABLE
2021-08-20T10:22:30.9413127Z
2021-08-20T10:22:30.9414002Z /tmp/pip-build-env-d2pxf9bw/overlay/lib/python3.10/site-packages/numpy/distutils/system_info.py:1858: UserWarning:
2021-08-20T10:22:30.9414993Z Lapack (http://www.netlib.org/lapack/) sources not found.
2021-08-20T10:22:30.9415721Z Directories to search for the sources can be specified in the
2021-08-20T10:22:30.9416404Z numpy/distutils/site.cfg file (section [lapack_src]) or by setting
2021-08-20T10:22:30.9417012Z the LAPACK_SRC environment variable.
2021-08-20T10:22:30.9417667Z return getattr(self, '_calc_info_{}'.format(name))()
2021-08-20T10:22:30.9418105Z NOT AVAILABLE
2021-08-20T10:22:30.9418392Z
2021-08-20T10:22:30.9418745Z Traceback (most recent call last):
2021-08-20T10:22:30.9420445Z File "/tmp/tmp.G6kDQp2bEC/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
2021-08-20T10:22:30.9421204Z main()
2021-08-20T10:22:30.9422189Z File "/tmp/tmp.G6kDQp2bEC/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
2021-08-20T10:22:30.9423150Z json_out['return_val'] = hook(**hook_input['kwargs'])
2021-08-20T10:22:30.9424325Z File "/tmp/tmp.G6kDQp2bEC/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 151, in prepare_metadata_for_build_wheel
2021-08-20T10:22:30.9425290Z return hook(metadata_directory, config_settings)
2021-08-20T10:22:30.9426524Z File "/tmp/pip-build-env-d2pxf9bw/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 161, in prepare_metadata_for_build_wheel
2021-08-20T10:22:30.9427527Z self.run_setup()
2021-08-20T10:22:30.9428540Z File "/tmp/pip-build-env-d2pxf9bw/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 253, in run_setup
2021-08-20T10:22:30.9429443Z super(_BuildMetaLegacyBackend,
2021-08-20T10:22:30.9430544Z File "/tmp/pip-build-env-d2pxf9bw/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 145, in run_setup
2021-08-20T10:22:30.9431526Z exec(compile(code, __file__, 'exec'), locals())
2021-08-20T10:22:30.9432067Z File "setup.py", line 588, in <module>
2021-08-20T10:22:30.9432480Z setup_package()
2021-08-20T10:22:30.9432955Z File "setup.py", line 584, in setup_package
2021-08-20T10:22:30.9433401Z setup(**metadata)
2021-08-20T10:22:30.9434367Z File "/tmp/pip-build-env-d2pxf9bw/overlay/lib/python3.10/site-packages/numpy/distutils/core.py", line 135, in setup
2021-08-20T10:22:30.9435169Z config = configuration()
2021-08-20T10:22:30.9435689Z File "setup.py", line 499, in configuration
2021-08-20T10:22:30.9436604Z raise NotFoundError(msg)
2021-08-20T10:22:30.9437294Z numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
2021-08-20T10:22:30.9438135Z To build Scipy from sources, BLAS & LAPACK libraries need to be installed.
2021-08-20T10:22:30.9438849Z See site.cfg.example in the Scipy source directory and
2021-08-20T10:22:30.9439776Z https://docs.scipy.org/doc/scipy/reference/building/index.html for details.
2021-08-20T10:22:30.9440664Z ----------------------------------------
2021-08-20T10:22:30.9443938Z WARNING: Discarding https://files.pythonhosted.org/packages/26/68/84dbe18583e79e56e4cee8d00232a8dd7d4ae33bc3acf3be1c347991848f/scipy-1.6.1.tar.gz#sha256=c4fceb864890b6168e79b0e714c585dbe2fd4222768ee90bc1aa0f8218691b11 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7). Command errored out with exit status 1: /tmp/tmp.G6kDQp2bEC/venv/bin/python /tmp/tmp.G6kDQp2bEC/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpq0rspzxv Check the logs for full command output.
Python 3.10でのビルドが実行されること自体に問題はないが、まだscipyのPython 3.10 manylinux wheelsが配布されていないことにより、ビルドに失敗している。
Python 3.9まではpip install scipy
でwheelが取得出来ていたが、Python 3.10では出来ないので、ソース(scipy-1.6.1.tar.gz)からビルドする必要があるようになっており、ビルドするためのライブラリを要求するようになっている。
2021-08-20T10:22:30.9438135Z To build Scipy from sources, BLAS & LAPACK libraries need to be installed.