我試圖安裝geopandas兩種不同的方式:通過克隆麻煩蟒蛇cpl_error.h安裝菲奧娜:沒有這樣的文件或目錄
git clone https://github.com/kjordahl/geopandas
在這兩種情況下,安裝文件setup.py
運行一段pip install geopandas
或然後,返回此錯誤消息:
src/fiona/ogrinit.c:300:23: fatal error: cpl_error.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
fiona
是接口OGR所以Python可以讀取的地理空間數據。 cpl_error.h
似乎不見了。我能做什麼?
'sudo apt-get install libgdal-dev'✓ –