[gdal-dev] DLL load failed: The specified module could not be found

Arthur Morgan saadbaloch444 at gmail.com
Sat Oct 24 00:47:21 PDT 2020


Hello,
I have Anaconda latest 64-bit built on Windows 10, and the current
environment is running on Python 2.7. Now, I installed GDAL via conda
install -c conda-forge gdal

But when the script calls GDAL, it throws the following error:
Traceback (most recent call last):
  File "format_snow_params.py", line 20, in <module>
    from osgeo import gdal
  File
"D:\ProgramData\Anaconda3\envs\py2\lib\site-packages\osgeo\__init__.py",
line 25, in <module>
    _gdal = swig_import_helper()
  File
"D:\ProgramData\Anaconda3\envs\py2\lib\site-packages\osgeo\__init__.py",
line 21, in swig_import_helper
    _mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.

Please advise what to do?

Kind Regards,
Saad Baloch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201024/6a73a9cb/attachment.html>


More information about the gdal-dev mailing list