标签:plot aliyun base tps shp imp clu git mirror
1. 下载 basemap 包
https://github.com/matplotlib/basemap/releases
2. 解压
tar -zxvf basemap-1.2.1rel.tar.gz
3. 安装依赖包 pip install numpy -i https://mirrors.aliyun.com/pypi/simple
pip install matplotlib -i https://mirrors.aliyun.com/pypi/simple
pip install pyproj -i https://mirrors.aliyun.com/pypi/simple
pip install pyshp -i https://mirrors.aliyun.com/pypi/simple
4. 编译安装 geos 库
cd basemap-1.2.1rel/geos-3.3.3/
5. 安装 basemap
cd ..
python setup.py install
6. 测试 cd examples/ python simpletest.py
标签:plot aliyun base tps shp imp clu git mirror
原文地址:https://www.cnblogs.com/luochunxi/p/12891574.html