我正在嘗試在Raspbian Jessie的全新安裝(4.4的寫入時間)上安裝一個覆盆子pi上的matplotlib。我正在嘗試爲Python 2.7安裝matplotlib。pip安裝matplotlib在Raspbian Jessie上失敗4.4
我不斷收到以下錯誤:
command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-HPuMoo/matplotlib/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-l3s1dW-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-HPuMoo/matplotlib
Storing debug log for failure in /home/pi/.pip/pip.log
使事情變得複雜......當我安裝其他程序包(沒有問題,剛安裝的virtualenv),這不會發生,但是當我嘗試升級它確實發生numpy的。另外,在Python的主分佈(/ usr/bin/python)或虛擬環境(/ home/pi/Envs/test/bin/python)上工作時會出現此錯誤。然後,我在主分發上使用pip 1.5.6,在virtualenv上使用9.0.1。都失敗了。 :(
不知道爲什麼我有這個問題......考慮如何廣泛使用matplotlib是(以及如何滿載Python包傑西是),你會以爲不會有什麼問題。HM。
你什麼命令來啓動安裝?任何有用的' pip.log'? – kazemakase
我只是在做'pip install matplotlib'。日誌的結尾寫着'error:command'arm-linux-gnueabihf-gcc'fail ed退出狀態1' – ajdigregorio
你可以發佈日誌的相關部分嗎? (也就是說,如果你能分辨哪個部分是相關的,是否不太長) – kazemakase