<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><meta http-equiv="x-dns-prefetch-control" content="off"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi Jeff,<br><br>Thank you very much for your response. <br><br>Just renamed _gdal.dll to _gdal.pyd and now it works fine.<br><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">>extension) I'd love to hear your feedback in that ticket (testing with <br>>3.0 version, etc etc)<br><br>I will test MS4W 3.0 as soon as possible,<br><br>Just one more question. It seems there are duplicated python tools in "C:\ms4w\python\gdal\utilities" and
"C:\ms4w\tools\python-gdal"<br>Any particular reason for that?<br><br>Thanks<br><br>Luis Tavares<br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Jeff McKenna
<jmckenna@gatewaygeomatics.com><br><b><span style="font-weight: bold;">To:</span></b> ms4w-users@lists.maptools.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, March 4, 2010 1:33:09 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [MS4W-Users] Problem with Python GDAL utilities<br></font><br>Luis Miguel wrote:<br>> Hi list,<br>> <br>> I'm trying to use GDAL utilities (*.py) located in <br>> "C:\ms4w\python\gdal\utilities"<br>> But i'm getting errors like:<br>> <br>> ImportError: No module named _gdal<br>> <br>> This is my setup:<br>> MS4W 2.3.1 , Python 2.5.4,<br>> PYTHONPATH=C:\ms4w\python\gdal<br>> PATH=C:\Python25<br>> setenv.bat done<br>> <br>> There is a "strange" file named _gdal.dll located in <br>> "C:\ms4w\python\gdal" but no _gdal.py<br>> <br>> Any ideas?<br><br>Luis,<br><br>The issue
and solution is fully described in this previous ticket: <br><a rel="nofollow" target="_blank" href="http://bugzilla.maptools.org/show_bug.cgi?id=2007">http://bugzilla.maptools.org/show_bug.cgi?id=2007</a> (it has to do with <br>python from version 2.5 not being able to load files with a .dll <br>extension) I'd love to hear your feedback in that ticket (testing with <br>3.0 version, etc etc)<br><br>Thanks.<br><br>-jeff<br><br><br>-- <br>Jeff McKenna<br>MapServer Consulting and Training Services<br><a rel="nofollow" target="_blank" href="http://www.gatewaygeomatics.com/">http://www.gatewaygeomatics.com/</a><br><br><br>_______________________________________________<br>MS4W-Users mailing list<br><a rel="nofollow" ymailto="mailto:MS4W-Users@lists.maptools.org" target="_blank" href="mailto:MS4W-Users@lists.maptools.org">MS4W-Users@lists.maptools.org</a><br><a rel="nofollow" target="_blank"
href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><br></div></div>
</div><br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div><br>
</body></html>