GDAL-DLL加载失败:找不到指定的模块

时间:2020-08-19 13:09:14

标签: python-3.x import gdal pyqgis

我想在python中使用GDAL库,所以我已经安装了gdal。我使用了以下设置:

  1. Python 2.7.10,32位,使用MSCV 1500编译; Windows 7 64
  2. GDAL-2.1.3.win32-py2.7.msi

但是当我运行python文件时,“ DLL加载失败错误”即将到来。以下是文件中的代码:

# import osgeo.gdal as a convenience
from osgeo.gdal import deprecation_warn
deprecation_warn('gdal')

from osgeo import gdal

请建议如何解决此问题并使用GDAL库

Error screen shot

0 个答案:

没有答案