pipenv内の仮想環境でscipyインストール時にエラーが発生します。
pipenvにてpython==3.8.2の環境を作成し、numpy==1.18.2をインストール後、
scipy==1.4.1のインストールを試みました。
インストール自体には成功したのですが、Pipfileのlockに失敗したとの表示が出力されます。
エラーコードは以下のとおりです。(10000字を超えてしまい全てのらなかったため画像でも貼り付けてあります。)
試したこととしては、pipのupgrade,pipenvのupgrade,あとは仮想環境外でscipyがインストールできるのかです。インストール可能でした。
zsh
1 2ERROR:pip.subprocessor:Command errored out with exit status 1: 3 command: /usr/local/opt/python@3.9/bin/python3.9 /usr/local/lib/python3.9/site-packages/pipenv/patched/notpip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/tmpsfbywhbt 4 cwd: /private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-resolver-dcfsiedc/scipy 5Complete output (139 lines): 6setup.py:418: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-modern-metadata-3bdmlub3'), proceeding with generating Cython sources and expanding templates 7 warnings.warn("Unrecognized setuptools command ('{}'), proceeding with " 8Running from scipy source directory. 9lapack_opt_info: 10lapack_mkl_info: 11customize UnixCCompiler 12 libraries mkl_rt not found in ['/usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib'] 13 NOT AVAILABLE 14 15openblas_lapack_info: 16customize UnixCCompiler 17customize UnixCCompiler 18 libraries openblas not found in ['/usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib'] 19 NOT AVAILABLE 20 21openblas_clapack_info: 22customize UnixCCompiler 23customize UnixCCompiler 24 libraries openblas,lapack not found in ['/usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib'] 25 NOT AVAILABLE 26 27flame_info: 28customize UnixCCompiler 29 libraries flame not found in ['/usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib'] 30 NOT AVAILABLE 31 32atlas_3_10_threads_info: 33Setting PTATLAS=ATLAS 34customize UnixCCompiler 35 libraries lapack_atlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 36customize UnixCCompiler 37 libraries tatlas,tatlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 38customize UnixCCompiler 39 libraries lapack_atlas not found in /usr/local/lib 40customize UnixCCompiler 41 libraries tatlas,tatlas not found in /usr/local/lib 42customize UnixCCompiler 43 libraries lapack_atlas not found in /usr/lib 44customize UnixCCompiler 45 libraries tatlas,tatlas not found in /usr/lib 46<class 'numpy.distutils.system_info.atlas_3_10_threads_info'> 47 NOT AVAILABLE 48 49atlas_3_10_info: 50customize UnixCCompiler 51 libraries lapack_atlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 52customize UnixCCompiler 53 libraries satlas,satlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 54customize UnixCCompiler 55 libraries lapack_atlas not found in /usr/local/lib 56customize UnixCCompiler 57 libraries satlas,satlas not found in /usr/local/lib 58customize UnixCCompiler 59 libraries lapack_atlas not found in /usr/lib 60customize UnixCCompiler 61 libraries satlas,satlas not found in /usr/lib 62<class 'numpy.distutils.system_info.atlas_3_10_info'> 63 NOT AVAILABLE 64 65atlas_threads_info: 66Setting PTATLAS=ATLAS 67customize UnixCCompiler 68 libraries lapack_atlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 69customize UnixCCompiler 70 libraries ptf77blas,ptcblas,atlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 71customize UnixCCompiler 72 libraries lapack_atlas not found in /usr/local/lib 73customize UnixCCompiler 74 libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib 75customize UnixCCompiler 76 libraries lapack_atlas not found in /usr/lib 77customize UnixCCompiler 78 libraries ptf77blas,ptcblas,atlas not found in /usr/lib 79<class 'numpy.distutils.system_info.atlas_threads_info'> 80 NOT AVAILABLE 81 82atlas_info: 83customize UnixCCompiler 84 libraries lapack_atlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 85customize UnixCCompiler 86 libraries f77blas,cblas,atlas not found in /usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib 87customize UnixCCompiler 88 libraries lapack_atlas not found in /usr/local/lib 89customize UnixCCompiler 90 libraries f77blas,cblas,atlas not found in /usr/local/lib 91customize UnixCCompiler 92 libraries lapack_atlas not found in /usr/lib 93customize UnixCCompiler 94 libraries f77blas,cblas,atlas not found in /usr/lib 95<class 'numpy.distutils.system_info.atlas_info'> 96 NOT AVAILABLE 97 98accelerate_info: 99 NOT AVAILABLE 100 101lapack_info: 102customize UnixCCompiler 103 libraries lapack not found in ['/usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib'] 104 NOT AVAILABLE 105 106/private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-build-env-xs75at6v/overlay/lib/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning: 107 Lapack (http://www.netlib.org/lapack/) libraries not found. 108 Directories to search for the libraries can be specified in the 109 numpy/distutils/site.cfg file (section [lapack]) or by setting 110 the LAPACK environment variable. 111 if getattr(self, '_calc_info_{}'.format(lapack))(): 112lapack_src_info: 113 NOT AVAILABLE 114 115/private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-build-env-xs75at6v/overlay/lib/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning: 116 Lapack (http://www.netlib.org/lapack/) sources not found. 117 Directories to search for the sources can be specified in the 118 numpy/distutils/site.cfg file (section [lapack_src]) or by setting 119 the LAPACK_SRC environment variable. 120 if getattr(self, '_calc_info_{}'.format(lapack))(): 121 NOT AVAILABLE 122 123Traceback (most recent call last): 124 File "/usr/local/lib/python3.9/site-packages/pipenv/patched/notpip/_vendor/pep517/_in_process.py", line 257, in <module> 125 main() 126 File "/usr/local/lib/python3.9/site-packages/pipenv/patched/notpip/_vendor/pep517/_in_process.py", line 240, in main 127 json_out['return_val'] = hook(**hook_input['kwargs']) 128 File "/usr/local/lib/python3.9/site-packages/pipenv/patched/notpip/_vendor/pep517/_in_process.py", line 110, in prepare_metadata_for_build_wheel 129 return hook(metadata_directory, config_settings) 130 File "/private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-build-env-xs75at6v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 161, in prepare_metadata_for_build_wheel 131 self.run_setup() 132 File "/private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-build-env-xs75at6v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup 133 super(_BuildMetaLegacyBackend, 134 File "/private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-build-env-xs75at6v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup 135 exec(compile(code, __file__, 'exec'), locals()) 136 File "setup.py", line 540, in <module> 137 setup_package() 138 File "setup.py", line 536, in setup_package 139 setup(**metadata) 140 File "/private/var/folders/fx/nv5nlm1d4hl_ft_s9v7by75h0000gn/T/pip-build-env-xs75at6v/overlay/lib/python3.9/site-packages/numpy/distutils/core.py", line 137, in setup 141 config = configuration() 142 File "setup.py", line 435, in configuration 143 raise NotFoundError(msg) 144numpy.distutils.system_info.NotFoundError: No lapack/blas resources found. Note: Accelerate is no longer supported. 145 146...以下略...
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/02/16 05:26