<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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 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 href='http://clk.atdmt.com/UKM/go/195013117/direct/01/' target='_new'>Tell us now</a></body>
</html>