[gdal-dev] gdal autotest with gdal 1.11 (msvc2010)
Mateusz Łoskot
mateusz at loskot.net
Sat Apr 26 12:45:53 PDT 2014
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,
--
Mateusz Łoskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list