[英]Error loading cartopy: error: command 'gcc' failed with exit status 1
我正在嘗試使用pip install cartopy
加載到系統上
我正在使用的Python環境版本為3.5.3,無法更改。 我收到以下錯誤:
error: command 'gcc' failed with exit status 1
這也給我這個錯誤:
Command "/opt/apps/python/3.5.3/bin/python3.5 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-
eprit6ql/cartopy/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-4mg12j4p-record/install-
record.txt --single-version-externally-managed --compile --user --prefix="
failed with error code 1 in /tmp/pip-build-eprit6ql/cartopy/
(對不起,有點混亂)
如果還有其他建議使用pip或類似的替代方法(例如底圖)進行安裝,這也將有所幫助!
謝謝你的幫助!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.