Hi all,

I'm seeing that gdal 3.2.0dev is giving a wrong gdal.VersionInfo() output
with OSGeo4W:

import gdal
gdal.VersionInfo()
'3000400'

I opened this issue in GDAL mailing list and Even suggested to check if I
had intalled the python3-gdal-dev package and, in fact, python3-gdal-dev
was not installed.

First question is, should it not be installed by default with gdal-dev?

After installed the package and run gdal-dev-py3-env to set the appropriate
environment, version became correct in OSGeo4W Shell

gdal.VersionInfo()
'3020000'

However, I was trying it inside QGIS, in Python console, and there the
output is still '3000400', both in qgis-rel-dev (3.12.2) and qgis-dev
(3.13.0-master), compiled against GDAL 3.2.0dev.

I tried to change in qgis-rel-dev-g7.bat
from
call gdal-dev-env.bat
to
call gdal-dev-py3-env.bat

but without success. It seems that something more needs to be changed. Any
hint?

Thank you very much!

Best regards,
Pedro Venâncio
_______________________________________________
osgeo4w-dev mailing list
osgeo4w-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev

Reply via email to