RaspberryPi3に2017-11-29-raspbianをインストールし、初期状態での起動を確認し、update/upgrade/dist-upgradeを行っています。
scipyをpipにてインストールしたとき、以下のメッセージが表示されました。
pi@raspberrypi:~ $ sudo pip install scipy
Collecting scipy
Downloading scipy-1.0.0.tar.gz (15.2MB)
100% |████████████████████████████████| 15.2MB 14kB/s
Building wheels for collected packages: scipy
Running setup.py bdist_wheel for scipy ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-pBzGTc/scipy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpHuFIQspip-wheel- --python-tag cp27:
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
途中省略
/usr/lib/python2.7/dist-packages/numpy/distutils/system_info.py:572: 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()
lapack_info:
libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
途中省略
Running from scipy source directory.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-pBzGTc/scipy/setup.py", line 418, in <module>
setup_package()
途中省略
Failed building wheel for scipy
Running setup.py clean for scipy
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-pBzGTc/scipy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all:
setup.py clean
is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files) - `git clean -Xdf` (cleans all versioned files, doesn't touch files that aren't checked into the git repo)
Add --force
to your command to use it anyway if you must (unsupported).
Failed cleaning build dir for scipy
Failed to build scipy
Installing collected packages: scipy
Running setup.py install for scipy ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-pBzGTc/scipy/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-qkBJt4-record/install-record.txt --single-version-externally-managed --compile:
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 scipy` (last SciPy release on PyPI) lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf'] NOT AVAILABLE openblas_lapack_info: libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf'] NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS libraries tatlas,tatlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries tatlas,tatlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: libraries satlas,satlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries satlas,satlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: libraries f77blas,cblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib libraries f77blas,cblas,atlas not found in /usr/lib/arm-linux-gnueabihf libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE /usr/lib/python2.7/dist-packages/numpy/distutils/system_info.py:572: 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.
途中省略
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-pBzGTc/scipy/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-qkBJt4-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-pBzGTc/scipy/
pi@raspberrypi:~ $
ここまで(文字数が10000超えるので途中を削りました)
Failed building wheel for scipyや、最後のCommand "以下は赤字で表示されます。こちらの原因と対策を教えてください。よろしくお願いいたします。
あなたの回答
tips
プレビュー