<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"><div>Hi Frank,<br><br>It seems the problem is not with PIL. After installing it still with the same error.<br>Thanks anyway,<br><br>Any more suggestions? <br><br>Luis Tavares <br></div><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;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> FRANZ OKYERE &lt;franzzoa@hotmail.com&gt;<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> Wed, March 3, 2010 5:15:30 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [MS4W-Users] Problem with Python GDAL utilities<br></font><br><meta
 http-equiv="x-dns-prefetch-control" content="off">

<style><!--
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Verdana;}
--></style>

Hi Luis,<br>
&nbsp;<br>
Try downloading the appropriate PIL version&nbsp;from their website (can't remember but try&nbsp;<font color="#008000"><a rel="nofollow" target="_blank" href="http://www.pythonware.com/products/pil/">www.pythonware.com/products/pil/</a></font>) and installing it.&nbsp;It helped me when&nbsp;I was using a python tool with my application.&nbsp;It was always&nbsp;giving errors till&nbsp;I installed the PIL. All the best.<br>
&nbsp;<br>
Franz<br>
&nbsp;<br>
GIS Specialist, Ghana<br>&nbsp;<br>
<hr id="stopSpelling">
Date: Tue, 2 Mar 2010 20:12:32 -0800<br>From: lmikegeo@yahoo.com<br>To: ms4w-users@lists.maptools.org<br>Subject: [MS4W-Users] Problem with Python GDAL utilities<br><br>
<style>
.ExternalClass DIV
{}
</style>

<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Hi list,<br><br>I'm trying to use GDAL utilities (*.py) located in&nbsp; "C:\ms4w\python\gdal\utilities"<br>But i'm getting errors like:<br><br><span style="font-style: italic;">ImportError: No module named _gdal</span> <br><br>This is my setup:<br>&nbsp;&nbsp;&nbsp; MS4W 2.3.1 , Python 2.5.4, <br>&nbsp;&nbsp;&nbsp; PYTHONPATH=C:\ms4w\python\gdal<br>&nbsp;&nbsp;&nbsp; PATH=C:\Python25<br>&nbsp;&nbsp;&nbsp; setenv.bat done<br><br>There is a "strange" file named&nbsp; _gdal.dll located in "C:\ms4w\python\gdal" but no _gdal.py<br><br>Any ideas?<br><br>Thanks in advance<br><br>Luis Tavares<br><br><br></div></div><br>                                               <br><hr>We want to hear all your funny, exciting and crazy Hotmail stories. <a rel="nofollow" target="_blank" href="http://clk.atdmt.com/UKM/go/195013117/direct/01/">Tell us now</a><meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div><br>

      </body></html>