燁我檢查這也太 - Upgrading skimage version on Raspberry pi樹莓派2 - 不能安裝scikit圖像
但在運行後:PIP安裝scikit圖像
Collecting scikit-image Using cached scikit-image-0.12.3.tar.gz Complete output from command python setup.py egg_info: warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests' warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests' warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests' warning: no files found matching '*.pxd' under directory 'Cython/Utility' gcc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. Unable to find pgen, not compiling formal grammar. Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-YRFTcZ/scikit-image/setup.py", line 146, in <module> **extra File "/home/pi/miniconda/lib/python2.7/site-packages/numpy/distutils/core.py", line 126, in setup dist = setup(**new_attr) File "/home/pi/miniconda/lib/python2.7/site-packages/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/home/pi/miniconda/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/home/pi/miniconda/lib/python2.7/site-packages/numpy/distutils/numpy_distribution.py", line 16, in __init__ Distribution.__init__(self, attrs) File "build/bdist.linux-armv7l/egg/setuptools/dist.py", line 268, in __init__ File "build/bdist.linux-armv7l/egg/setuptools/dist.py", line 313, in fetch_build_eggs File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 836, in resolve File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 1081, in best_match File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 1093, in obtain File "build/bdist.linux-armv7l/egg/setuptools/dist.py", line 380, in fetch_build_egg File "build/bdist.linux-armv7l/egg/setuptools/command/easy_install.py", line 638, in easy_install File "build/bdist.linux-armv7l/egg/setuptools/command/easy_install.py", line 668, in install_item File "build/bdist.linux-armv7l/egg/setuptools/command/easy_install.py", line 851, in install_eggs File "build/bdist.linux-armv7l/egg/setuptools/command/easy_install.py", line 1079, in build_and_install File "build/bdist.linux-armv7l/egg/setuptools/command/easy_install.py", line 1067, in run_setup distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 4 ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YRFTcZ/scikit-image/
我已經安裝了miniconda並使用我也無法安裝
conda install scikit-image
由於海灣合作委員會失敗,是否必須我一些缺失的依賴關係。檢查文檔的所有依賴關係 –
謝謝,我認爲事情是matplotlib沒有安裝 – gskishan004