5

私は geopandas を 2 つの異なる方法でインストールしようとしました:pip install geopandasまたは複製によって

git clone https://github.com/kjordahl/geopandas

どちらの場合も、インストール ファイルsetup.pyがしばらく実行された後、次のエラー メッセージが返されます。

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

fionaPython が地理空間データを読み取ることができるよう に、 OGRへのインターフェイスです。cpl_error.h行方不明のようです。私に何ができる?

4

3 に答える 3

0

OSX で自作を使用している場合:

を実行brew install gdalする前に実行しpip install fionaます。

于 2013-11-22T18:38:45.613 に答える