[MS4W-Users] Problem with Python GDAL utilities
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Mar 3 20:33:09 EST 2010
Luis Miguel wrote:
> Hi list,
>
> I'm trying to use GDAL utilities (*.py) located in
> "C:\ms4w\python\gdal\utilities"
> But i'm getting errors like:
>
> ImportError: No module named _gdal
>
> This is my setup:
> MS4W 2.3.1 , Python 2.5.4,
> PYTHONPATH=C:\ms4w\python\gdal
> PATH=C:\Python25
> setenv.bat done
>
> There is a "strange" file named _gdal.dll located in
> "C:\ms4w\python\gdal" but no _gdal.py
>
> Any ideas?
Luis,
The issue and solution is fully described in this previous ticket:
http://bugzilla.maptools.org/show_bug.cgi?id=2007 (it has to do with
python from version 2.5 not being able to load files with a .dll
extension) I'd love to hear your feedback in that ticket (testing with
3.0 version, etc etc)
Thanks.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MS4W-Users
mailing list