[gdal-dev] gdal autotest with gdal 1.11 (msvc2010)

David Tran david.tran at hsr.ch
Sat Apr 26 14:23:05 PDT 2014


I just tried to set those path with:

set PATH=E:\gdal111_32bit_msvc2010\bin;%PATH%
set PYTHONPATH=E:\gdalautotest-1.11.0\pymod
set GDAL_DATA=E:\gdal111_32bit_msvc2010\data

CMD shows me the same message as below.


-------- Original Message  --------
Subject: Re: [gdal-dev] gdal autotest with gdal 1.11 (msvc2010)
From: Mateusz Łoskot <mateusz at loskot.net>
To: David Tran <david.tran at hsr.ch>
Date: Saturday, 26. April 2014 21:45:53

> On 26 April 2014 21:16, David Tran <david.tran at hsr.ch> wrote:
>> hi
>>
>> how does gdal autotest work? i compiled gdal 1.11 with vc10 and installed
>> python 3.4 and run_all.py:
>>
>>> Traceback (most recent call last):
>>>    File "E:\gdalautotest-1.11.0\run_all.py", line 30, in <module>
>>>      import gdaltest
>>>    File "pymod\gdaltest.py", line 37, in <module>
>>>      from osgeo import gdal
>>> ImportError: No module named 'osgeo'
>
>
> You need toset PATH, PYTHONPATH and GDAL_DATA.
> See these notes:
> http://trac.osgeo.org/gdal/wiki/TestingNotes#TestingonWindowsusingoldbindings
> and use your paths to tell Python where to find GDAL bindings inside
> your build tree.
> (Ignore it says old-gen bindings).
>
> Best regards,
>


More information about the gdal-dev mailing list