【发布时间】:2016-07-28 08:04:09
【问题描述】:
我正在尝试通过 pip 安装 GDAL。但我收到了这个错误:
extensions/gdal_wrap.cpp:3089:27: fatal error: cpl_vsi_error.h: No such file or directory
#include "cpl_vsi_error.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
我使用了这些命令:
sudo apt-get install libgdal-dev
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
pip install GDAL
谁能告诉我怎么安装?
【问题讨论】: