check your python path<br><br><div><span class="gmail_quote">On 2/28/07, <b class="gmail_sendername">Nagendra Singh</b> &lt;<a href="mailto:singh01@gmail.com">singh01@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>I am running python on Cygwin and I have also installed gdal which is a raster translator library. When I run the command import gdal, Python gives me an error :<br><br>Python 2.4.3 (#1, May 18 2006, 07:40:45) 
<br>[GCC 3.3.3 (cygwin special)] on cygwin<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>&gt;&gt;&gt; import gdal<br>Traceback (most recent call last):
<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in ?<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/gdal.py&quot;, line 191, in ?<br>&nbsp;&nbsp;&nbsp; import _gdal<br>ImportError: No module named _gdal<br><br>The file gdal.py and gdal.pyc

 are in : /usr/lib/python2.4/site-packages, but still it gives this error.<br><br>Thanks<br><span class="sg"><br>Singh<br><br>
</span><br>_______________________________________________<br>Tutor maillist &nbsp;- &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Tutor@python.org">Tutor@python.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">
http://mail.python.org/mailman/listinfo/tutor</a><br><br></blockquote></div><br>