Re: [gdal-dev] gdal_merge.py can not work

2014-03-10 Thread ridgewang
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 写道: > Ridge, > > How

Re: [gdal-dev] gdal_merge.py can not work

2014-03-10 Thread Jean-Claude Repetto
On 10/03/2014 05:47, ridgewang 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,

Re: [gdal-dev] gdal_merge.py can not work

2014-03-09 Thread Chaitanya kumar CH
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 wrote: > Hi, > I want to use gdal_merge.py to merge two image files. But it reports > cannot load _gdal l

[gdal-dev] gdal_merge.py can not work

2014-03-09 Thread ridgewang
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 u