[gdal-dev] gdal_merge.py can not work

ridgewang ridgewang at gmail.com
Mon Mar 10 06:11:18 PDT 2014


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.

发自我的 iPhone

在 2014-3-10,14:13,Chaitanya kumar CH <chaitanya.ch at gmail.com> 写道:

> Ridge,
> 
> How did you install GDAL?
> This usually happens when python cannot find the gdal libraries. Setting PYTHONPATH env variable may help.
> 
> 
> On Mon, Mar 10, 2014 at 10:17 AM, ridgewang <ridgewang at gmail.com> wrote:
> Hi,
>      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.
>      I use gdal 1.10.1 1400(vc2005) win32 version on win7 64bit OS, and the python version is 2.76.
>     Any suggestions is appreciated.
> 
> Ridge
> 
> 
> 
> 发自我的 iPhone
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 
> 
> -- 
> Best regards,
> Chaitanya kumar CH.
> 
> +91-9494447584
> 17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140310/51e45e69/attachment.html>


More information about the gdal-dev mailing list