[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

unable to install gdal

luis

3/9/2008 3:37:00 PM

Hi

On Windows xp sp2 and python 2.4

Yesterday I running old versions of gdal, and I try to upgrade

I download gdalwin32exe150.zip and gdal-python-13.win32-py2.4.exe
I unzip gdalwin32exe150.zip in C:\gdalwin32-1.5

I follow install's instructions from http://trac.osgeo.org/gdal/wiki/GdalO...,
all is ok, I set path and path_data variables with correct values, but
whe I run a script, an error raises

from osgeo import ogr
File "C:\Python24\Lib\site-packages\osgeo\ogr.py", line 7, in ?
import _ogr
ImportError: DLL load failed: process not found



Also I try with instructions from
http://www.urbansim.org/opus/stable-releases/opus-2006-11-21/docs/gdalin...
I move _gdal.pyd (and the others *.pyd) from my Python installation's
(C:\Python24\Lib\site-packages\osgeo) into my Python installation's
DLLs folder (C:\Python24\DLLs).
When I run the script the error message persists.

Some help is welcome.


2 Answers

luis

3/10/2008 8:50:00 AM

0

On 9 mar, 16:37, luis <soli...@gmail.com> wrote:
> Hi
>
> On Windows xp sp2 and python 2.4
>
> Yesterday I running old versions of gdal, and I try to upgrade
>
> I download gdalwin32exe150.zip and gdal-python-13.win32-py2.4.exe
> I unzip gdalwin32exe150.zip in C:\gdalwin32-1.5
>
> I follow install's instructions fromhttp://trac.osgeo.org/gdal/wiki/GdalO...,
> all is ok, I set path and path_data variables with correct values, but
> whe I run a script, an error raises
>
> from osgeo import ogr
>   File "C:\Python24\Lib\site-packages\osgeo\ogr.py", line 7, in ?
>     import _ogr
> ImportError: DLL load failed: process not found
>
> Also I try with instructions fromhttp://www.urbansim.org/opus/stable-releases/opus-2006-11-2......
> I move _gdal.pyd (and the others *.pyd) from my Python installation's
> (C:\Python24\Lib\site-packages\osgeo) into my Python installation's
> DLLs folder (C:\Python24\DLLs).
> When I run the script the error message persists.
>
> Some help is welcome.

If I install on a XP without previous installation of gdal, the
installation works fine.

Perhaps is a problem with XP's registry

luis

3/12/2008 7:52:00 AM

0

On 10 mar, 09:49, luis <soli...@gmail.com> wrote:
> On 9 mar, 16:37, luis <soli...@gmail.com> wrote:
>
>
>
> > Hi
>
> > On Windows xp sp2 and python 2.4
>
> > Yesterday I running old versions of gdal, and I try to upgrade
>
> > I download gdalwin32exe150.zip and gdal-python-13.win32-py2.4.exe
> > I unzip gdalwin32exe150.zip in C:\gdalwin32-1.5
>
> > I follow install's instructions fromhttp://trac.osgeo.org/gdal/wiki/GdalO...,
> > all is ok, I set path and path_data variables with correct values, but
> > whe I run a script, an error raises
>
> > from osgeo import ogr
> > File "C:\Python24\Lib\site-packages\osgeo\ogr.py", line 7, in ?
> > import _ogr
> > ImportError: DLL load failed: process not found
>
> > Also I try with instructions fromhttp://www.urbansim.org/opus/stable-releases/opus-2006-11-2......
> > I move _gdal.pyd (and the others *.pyd) from my Python installation's
> > (C:\Python24\Lib\site-packages\osgeo) into my Python installation's
> > DLLs folder (C:\Python24\DLLs).
> > When I run the script the error message persists.
>
> > Some help is welcome.
>
> If I install on a XP without previous installation of gdal, the
> installation works fine.
>
> Perhaps is a problem with XP's registry

If I run the script in the dos line command (>> python script_name.py)
a final windows error's message says
curls_multi_cleanup pocedure don`t find entry point in libcurl.dll

I have found 2 programs using other versions libcurl.dll

In the PATH environment variable I insert C:\gdalwin32-1.5\bin before
paths those programs, and the error has disappeared