[gdal-dev] ImportError when importing gdal module with python 2.7 on Windows 7 64-bit

John Twilley mathuin at gmail.com
Wed Oct 3 11:23:35 PDT 2012


I an running Windows 7 64-bit and have downloaded and installed the
following software:

 * Python 2.7.3 for x64 from http://www.python.org/getit
 * GDAL 1.9 core and bindings for amd64 and py2.7 from
http://www.gisinternals.com/sdk
 * various modules including PyWin32 from
http://www.lfd.uci.edu/~gohlke/pythonlibs/

When I run "python -mgdal" to test importing the gdal module, I get an
traceback.  These are the final lines in the traceback:

File "C:\Python27\lib\site-packages\osgeo\__init__.py", line 17, in
swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.

gdal19.dll is in C:\Program Files\GDAL for what it's worth.

What do I need to do to make this work?

Thanks in advance!

Jack.
--
mathuin at gmail dot com


More information about the gdal-dev mailing list