Unbuntu 18.04 LTS 环境下Python安装GDAL组件

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
posted @ 2020-10-30 16:55  WeoSuper  阅读(247)  评论(0编辑  收藏  举报