<html><body bgcolor="#FFFFFF"><div>I run the echo %pythonpath% and it displays the right directions. And I add the system python direction before the gdal python direction, it still reports the same error. I installed by run the gdal-1.10.1.win32-py2.7.msi.<br><br>发自我的 iPhone</div><div><br>在 2014-3-10,14:13,Chaitanya kumar CH <<a href="mailto:chaitanya.ch@gmail.com">chaitanya.ch@gmail.com</a>> 写道:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Ridge,</span><br><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">How did you install GDAL?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">This usually happens when python cannot find the gdal libraries. Setting PYTHONPATH env variable may help.</span></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Mar 10, 2014 at 10:17 AM, ridgewang <span dir="ltr"><<a href="mailto:ridgewang@gmail.com" target="_blank"><a href="mailto:ridgewang@gmail.com">ridgewang@gmail.com</a></a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
     I want to use gdal_merge.py to merge two image files. But it reports cannot load _gdal library and %1 is not     a valid win32 module. Here the %1 means the _gdal, maybe.  In python CUI, I run 'import osgeo.gdal' or 'import gdal' command, it reports the same error information.<br>

     I use gdal 1.10.1 1400(vc2005) win32 version on win7 64bit OS, and the python version is 2.76.<br>
    Any suggestions is appreciated.<br>
<br>
Ridge<br>
<br>
<br>
<br>
发自我的 iPhone<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org"><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a></a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank"><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></a></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E
</div>
</div></blockquote></body></html>