Re: [Gdal-dev] import gdal error in python

2009-12-05 Thread cudars
Even Rouault wrote: > > GDAL Python bindings are not compatible with Python 3. I'm even > surprised you managed to build them because the setup.py script doesn't > work with Python 3. > > You need a Python 2.X version to make them work. > > cudars a écrit : >> python 3.1.1 >> gdal 1.6.2 >>

Re: [Gdal-dev] import gdal error in python

2009-12-05 Thread Even Rouault
GDAL Python bindings are not compatible with Python 3. I'm even surprised you managed to build them because the setup.py script doesn't work with Python 3. You need a Python 2.X version to make them work. cudars a écrit : python 3.1.1 gdal 1.6.2 There are no errors during I built the gdal and

[Gdal-dev] import gdal error in python

2009-12-04 Thread cudars
python 3.1.1 gdal 1.6.2 There are no errors during I built the gdal and python. The installtion is ok. But when I type import gdal in python, I got the error as follow: >>> import gdal Traceback (most recent call last): File "", line 1, in File "D:\Python31\lib\site-packages\gdal.py", line 2