Unbuntu 18.04 LTS 环境下Python安装GDAL组件
// 非必要 sudo add-apt-repository ppa:ubuntugis/ppa sudo apt-get update // 必要 sudo apt-get install gdal-bin sudo apt-get install libgdal-dev export CPLUS_INCLUDE_PATH=/usr/include/gdal export C_INCLUDE_PATH=/usr/include/gdal ogrinfo --version pip install GDAL==version