<div dir="ltr"><div>Hi Even,</div><div><br></div><div>You're right, I hadn't
python3-gdal-dev
package installed. After install it and run gdal-dev-py3-env, version become correct in OSGeo4W Shell<br></div><div><br></div><div>gdal.VersionInfo()<br>'3020000'</div><div><br></div><div>Should
not python3-gdal-dev
package be installed by default with gdal-dev?<br></div><div><br></div><div>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.</div><div><br></div><div>I tried to change in qgis-rel-dev-g7.bat</div><div><br></div><div>call gdal-dev-env.bat</div><div>to <br></div><div>call gdal-dev-py3-env.bat</div><div><br></div><div>but without success. It seems that something more needs to be changed. <br></div><div><br></div><div>Do you think I should open a ticket in QGIS or OSGeo4W tracker?</div><div><br></div><div>Thanks again!</div><div><br></div><div>Best regards,</div><div>Pedro<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> escreveu no dia quinta, 7/05/2020 à(s) 18:44:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div style="font-family:"monospace";font-size:9pt;font-weight:400;font-style:normal">
<p style="margin:0px;text-indent:0px">On jeudi 7 mai 2020 18:29:02 CEST Pedro Venâncio wrote:</p>
<p style="margin:0px;text-indent:0px">> Hi all,</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> I'm seeing that gdal 3.2.0dev is giving a wrong gdal.VersionInfo() output:</p>
<p style="margin:0px;text-indent:0px">> '3000400'.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> Anyone confirm?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">You're probably not using the Python module corresponding to master. Have you intalled the python3-gdal-dev package and run gdal-dev-py3-env.bat to set the appropriate environment ? (didn't try. no Windows VM started. Just looking at the content of </p>
<p style="margin:0px;text-indent:0px"><a href="https://download.osgeo.org/osgeo4w/x86_64/release/gdal/gdal-dev/python3-gdal-dev/python3-gdal-dev-3.2.0-9.tar.bz2" target="_blank">https://download.osgeo.org/osgeo4w/x86_64/release/gdal/gdal-dev/python3-gdal-dev/python3-gdal-dev-3.2.0-9.tar.bz2</a> )</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">-- </p>
<p style="margin:0px;text-indent:0px">Spatialys - Geospatial professional services</p>
<p style="margin:0px;text-indent:0px"><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a></p></div></blockquote></div>