[osgeo4w-dev] gdal-python packages & gdal_merge

fabienne picot cfab13 at hotmail.fr
Thu Oct 9 10:17:27 EDT 2008




Hi Franck
Did you see that message this morning (maybe not because the attached file was to big)?


Good morning
So with this method: ADVANCED INSTALL--- INSTALL FROM LOCAL DIRECTORY? it failed (see the attached file);
I
am on Windows, so I download: osgeo4w-setup.exe, and I launched it.
That's why I choose INSTALL FROM LOCAL DIRECTORY, because I thought
everything was in the '.exe'.
But apparently I choose the wrong method.
So I've installed it by choosing INSTALL FROM INTERNET. The first time, it failed, I've tried back: it works.
But now the problem is:
------------------------------------------------------------------------------------------------
'OSGEO4W home is C:\OSGeo4WMicrosoft Windows XP [version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\OSGeo4W>gdal_merge.py -o 'C:\image\assemblage1.tif' 'C:\image\SC25_TOUR_1020_1920_L2E.TIF' 'C:\image\SC25_TOUR_1020_1930_L2E.TIF'Traceback (most recent call last):  File 'C:\OSGeo4W\bin\gdal_merge.py', line 31, in <module>    import gdal  File 'C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py', line 2, in <module>    from osgeo.gdal import deprecation_warn  File 'C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py', line 7, in <module>    import _gdalImportError: DLL load failed: Le systÞme d'exploitation ne peut pas exÚcuter %1.C:\OSGeo4W>cd /d c:\imageC:\image>gdal_merge.py
-o 'C:\image\assemblage1.tif' 'C:\image\SC25_TOUR_1020_1920_L2E.TIF'
'C:\image\SC25_TOUR_1020_1930_L2E.TIF'Traceback (most recent call last):  File 'C:\OSGeo4W\bin\gdal_merge.py', line 31, in <module>    import gdal  File 'C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py', line 2, in <module>    from osgeo.gdal import deprecation_warn  File 'C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py', line 7, in <module>    import _gdalImportError: DLL load failed: Le systÞme d'exploitation ne peut pas exÚcuter %1.C:\image>python
gdal_merge.py -o 'C:\image\assemblage1.tif'
'C:\image\SC25_TOUR_1020_1920_L2E.TIF'
'C:\image\SC25_TOUR_1020_1930_L2E.TIF'python: can't open file 'gdal_merge.py': [Errno 2] No such file or directory'
---------------------------------------------------------------------------------------------
So what's wrong now because the files are here: C:\OSGeo4W\apps\gdal-dev\bin

Best regards

> Date: Wed, 8 Oct 2008 12:06:23 -0400
> From: warmerdam at pobox.com
> To: cfab13 at hotmail.fr
> CC: osgeo4w-dev at lists.osgeo.org
> Subject: Re: [osgeo4w-dev] gdal-python packages & gdal_merge
> 
> fabienne picot wrote:
> > Frank
> > 
> > I've tried to install OSGeo4W with the "Advanced" way, but it bugs.
> > So I haven't the choice: I make the install with "Express install"; so I 
> > haven't the possibility to go searching for gdal-python package.
> 
> Fabienne,
> 
> Could you be more explicit about what goes wrong?  If there is a problem
> in the installer I'd like to fix it.
> 
> Best regards,
> -- 
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
> 

_________________________________________________________________
Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit !
http://www.windowslive.fr/hotmail/default.asp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/osgeo4w-dev/attachments/20081009/a49c3edd/attachment.html


More information about the osgeo4w-dev mailing list