Re: python GDAL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: python GDAL

Netherton, Kevin J FLNR:EX
Hey all

I'm trying to get the python bindings to GDAL working with the MS4W I recently downloaded.  The version that I downloaded was:

http://www.maptools.org/dl/ms4w/ms4w-3.0.4-setup.exe

After setting up paths etc for my project, when I try to import the module gdal or ogr I get the following error message:

import _gdal
ImportError: DLL load failed: The specified module could not be found.
       
Looking a little deeper if I run dependency walker on the _gdal.pyd it says that it requires GDAL17.DLL, however it looks like every other part of the MS4W package uses GDAL19.DLL, and that is also the GDAL19.DLL that package ships.

Is anyone able to get python and gdal working using the version referenced above?  

Any help getting python and the gdal libraries to work would be greatly appreciated.  Can anyone confirm that this is the problem

Cheers

Kevin

P.S.  I've been able to build a working installation by combining pieces from the ms4w package (referenced above) and the packages available here http://www.gisinternals.com/sdk/.  Would be great to be able to simplify the process required to create a working installation.
_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
Reply | Threaded
Open this post in threaded view
|

Re: python GDAL

jmckenna
Administrator
Hello Kevin,

Thanks for using MS4W to share your organization's spatial information.

I have filed a ticket for this issue, and it would be excellent if you
could add yourself to that ticket and provide feedback:
http://bugzilla.maptools.org/show_bug.cgi?id=2371

Thanks for reporting this issue.

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




Netherton, Kevin J FLNR:EX wrote
Hey all

I'm trying to get the python bindings to GDAL working with the MS4W I recently downloaded.  The version that I downloaded was:

http://www.maptools.org/dl/ms4w/ms4w-3.0.4-setup.exe

After setting up paths etc for my project, when I try to import the module gdal or ogr I get the following error message:

import _gdal
ImportError: DLL load failed: The specified module could not be found.
       
Looking a little deeper if I run dependency walker on the _gdal.pyd it says that it requires GDAL17.DLL, however it looks like every other part of the MS4W package uses GDAL19.DLL, and that is also the GDAL19.DLL that package ships.

Is anyone able to get python and gdal working using the version referenced above?  

Any help getting python and the gdal libraries to work would be greatly appreciated.  Can anyone confirm that this is the problem