[gdal-dev] problem install gdal1.7.1 and python

Filippo Corò filippo.coro at alice.it
Fri Aug 13 03:15:02 EDT 2010


Hi List


I'd like to use GDAL 1.7.1, but I can not install the package correctly.
Until now I used GDAL 1.6.0 with python 2.6 on windows xp sp3.

trying to install GDAL 1.7.1 I followed these steps:

- Downloaded gdal171.zip

- Makegdal build makefile project under VS2008 (creating c: \  
gdalwin32-1.7.1 with folders bin, date and related dll and exe)

- Setting environmental variable PATH,c: \ gdalwin32-1.7.1 \ bin   
GDAL_DATA,c: \ gdalwin32-1.7.1 \ data

- Downloaded from pypi.python.org / pypi / GDAL / # usage the file   
GDAL.1.7.1.tar.gz

- Unziped GDAL.1.7.1.tar.gz in C:\GDAL-1.7.1

- Launching in the  command line   C:\GDAL-1.7.1\setup.py

 From python I can not import GDAL:

this is error messagge

IDLE 2.6.3
Import from OSGeo GDAL

Traceback (most recent call last):
   File "<pyshell#0>", line 1, in <module>
     OSGeo GDAL import from
ImportError: No module named OSGeo

What's wrong?

Best Regards

Filippo Corò


More information about the gdal-dev mailing list