(Note)Python osgeo&shapefile库的安装

1.  shapefile

        anaconda:conda install pyshp

pip:pip install pyshpe

2.  osgeo

    进入Link:https://www.lfd.uci.edu/~gohlke/pythonlibs/  搜索GDAL

    或者直接进入Link:https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal

    下载对应版本的GDAL

    例如:

    1.  pypy 3.8    win64

 

    2.  cpy 3.8     win64

下载后,以管理员权限运行Windows Terminal,cd至whl文件所在的位置,

输入命令    pip install GDAL-xxxxxxxxxxxxx.whl

即可完成安装

安装成功后如下图所示:

Reference:

python osgeo及shapefile库的安装_明镜居士的博客-CSDN博客_python安装osgeo 

 

        

来源:Think@

物联沃分享整理
物联沃-IOTWORD物联网 » (Note)Python osgeo&shapefile库的安装

发表评论