<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi&nbsp;Luis,<BR>
<BR>I have the gdal.py and the _gdal.dll files and there are no errors running gdal python tools. I guess your best bet is to reinstall or copy the gdal.py separately. I'm not sure why the errors after doing this. Sorry.<BR>
&nbsp;<BR>
Franz <BR>
GIS Specialist.<BR>
<HR id=stopSpelling>
Date: Wed, 3 Mar 2010 10:50:13 -0800<BR>From: lmikegeo@yahoo.com<BR>Subject: Re: [MS4W-Users] Problem with Python GDAL utilities<BR>To: franzzoa@hotmail.com; ms4w-users@lists.maptools.org<BR><BR>
<STYLE>
.ExternalClass DIV
{;}
</STYLE>

<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>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{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 href="http://www.pythonware.com/products/pil/" rel=nofollow>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=ecxstopSpelling>
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/" rel=nofollow>Tell us now</A></DIV></DIV></DIV><BR>                                               <br /><hr />Do you have a story that started on Hotmail? <a href='http://clk.atdmt.com/UKM/go/195013117/direct/01/' target='_new'>Tell us now</a></body>
</html>