windows系统下conda正常安装gdal后import gdal导入出错:ImportError: DLL load failed

问题:Window10系统,使用conda安装gdal后在cmd中可以import gdal,但在pycharm使用该虚拟环境时,import gdal则报错

ImportError: DLL load failed: The specified procedure could not be found.

分析:暂未知

解决:卸载gdal,使用非官方的whl文件安装gdal,gdal whl安装包获取链接如下:

Python Extension Packages for Windows - Christoph Gohlke (uci.edu)

卸载并安装

pip uninstall gdal
pip install GDAL***.whl

猜你喜欢

转载自blog.csdn.net/dou3516/article/details/120086492