[gdal-dev] GDAL, Python and PyQt4 bindings on windows

Luis Solis solisgb at gmail.com
Sun Dec 23 23:37:58 PST 2012


Hi

I've installed GDAL and python bindings (py 2.7) on win xp sp3 using Tamas
Szekeres's binaries.

All the environmental variables are ok (path, gdal_data and pythonpath).

path2gdal is the first in the list of directories in the PATH(PATH=c:\gdal;...)

I've tried with a simple test

    try:
       from osgeo import ogr
    except:
       import ogr

If I run the script from command line all is ok

I'm using Eric IDE. Eric uses PyQt4. If I try to run the script from Eric,
the test throws the error message

ImportError: DLL load failed

I don't know what I can do

-- 
Luis Solís
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121224/5db2e1c7/attachment.html>


More information about the gdal-dev mailing list