<div dir="ltr">Hi,<div><br></div><div>I wondered why does the latest qgis 3.0 weekly build (2.99.0-18) still contains some qt4 and py2.7 binaries.</div><div>OSGeo4W.bat still defaults to qt4+py2.7 (separate batch files qt5_env.bat, py3_env.bat are required to run in order to work with qt5+py3).</div><div><br></div><div>also, _gdal_array.pyd is missing from </div><div>apps\Python36\Lib\site-packages\osgeo<br></div><div>and available only on:</div><div>apps\Python27\Lib\site-packages\osgeo<br></div><div>(same for x64 and x86 releases)</div><div><br></div><div>[With the latest gisinternals binaries, I could find _gdal_array.pyd in the file:</div><div>release-1800-gdal-mapserver.zip\bin\gdal\python\osgeo\_gdal_array.pyd <br></div><div>but not in the x64 version.]</div><div><br></div><div><br></div><div>thus the following code fails:</div><div><br></div><div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><div>import <span class="gmail-il">gdal</span></div><div>x = <span class="gmail-il">gdal</span>.Open(r'D:/Map Samples/1/DTM/n29w098d5dtm.<wbr>tif')  #valid tif</div><div>y = x.ReadAsArray()</div><div>print(y)</div></blockquote><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">produces this error:</div><div style="font-size:12.8px"><br></div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><div>Traceback (most recent call last):</div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\site-packages\<wbr>osgeo\gdal_array.py", line 16, in swig_import_helper</div><div>    fp, pathname, description = imp.find_module('<span class="gmail-il">_gdal_array</span>', [dirname(__file__)])</div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\imp.py", line 296, in find_module</div><div>    raise ImportError(_ERR_MSG.format(<wbr>name), name=name)</div><div>ImportError: No module named '<span class="gmail-il">_gdal_array</span>'</div><div><br></div><div>During handling of the above exception, another exception occurred:</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\code.py", line 91, in runcode</div><div>    exec(code, self.locals)</div><div>  File "<input>", line 1, in <module></div><div>  File "<string>", line 3, in <module></div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\site-packages\<wbr>osgeo\<span class="gmail-il">gdal</span>.py", line 1817, in ReadAsArray</div><div>    from . import gdalnumeric</div><div>  File "C:/PROGRA~1/QGIS2~1.99/apps/<wbr>qgis-dev/./python\qgis\utils.<wbr>py", line 647, in _import</div><div>    mod = _builtin_import(name, globals, locals, fromlist, level)</div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\site-packages\<wbr>osgeo\gdalnumeric.py", line 1, in <module></div><div>    from osgeo.gdal_array import *</div><div>  File "C:/PROGRA~1/QGIS2~1.99/apps/<wbr>qgis-dev/./python\qgis\utils.<wbr>py", line 647, in _import</div><div>    mod = _builtin_import(name, globals, locals, fromlist, level)</div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\site-packages\<wbr>osgeo\gdal_array.py", line 26, in <module></div><div>    <span class="gmail-il">_gdal_array</span> = swig_import_helper()</div><div>  File "C:\PROGRA~1\QGIS2~1.99\apps\<wbr>Python36\lib\site-packages\<wbr>osgeo\gdal_array.py", line 18, in swig_import_helper</div><div>    import <span class="gmail-il">_gdal_array</span></div><div>  File "C:/PROGRA~1/QGIS2~1.99/apps/<wbr>qgis-dev/./python\qgis\utils.<wbr>py", line 647, in _import</div><div>    mod = _builtin_import(name, globals, locals, fromlist, level)</div><div>ModuleNotFoundError: No module named '<span class="gmail-il">_gdal_array</span>'</div></blockquote></div></div>