[osgeo4w-dev] [osgeo4w] #692: Python 3.9 on v2 installer breaks part of stdlib

OSGeo4W trac_osgeo4w at osgeo.org
Sun Oct 3 02:42:44 PDT 2021


#692: Python 3.9 on v2 installer breaks part of stdlib
-----------------------+----------------------------
Reporter:  akominlsfi  |       Owner:  osgeo4w-dev@…
    Type:  defect      |      Status:  new
Priority:  major       |   Component:  Installer
 Version:              |  Resolution:
Keywords:              |
-----------------------+----------------------------

Comment (by akominlsfi):

 Replying to [comment:5 jef]:
 > How would that work for multiple installed versions of QGIS?

 Oh I see, its possible to select multiple different suffix version of QGIS
 to the same install tree (qgis, qgis-ltr, qgis-ltr-dev etc)? It seems
 adding the pth file and dll path for qgis cant work properly in that case,
 so probably no reason for different behaviour if only one qgis exists.
 That can be easily manually patched in venvs or directly to the install if
 necessary, since correct dll paths will be added by qgis module itself and
 only a pth file is necessary for the module to be found.

 How about the bin path added always as a dll path, and qt if installed?

 Since currently neither the bin or apps python exe works without some
 environment setup beforehand, dll path setup should allow direct execution
 of apps exe and still keep any osgeo shell or qgis bat wrapped calls to
 the bin exe since those set the PYTHONHOME.

 PyQt5 setups its own dll paths only if the ddls are found in PATH, so that
 could benefit  from a sitecustomize so the PATH does not necessarily need
 to contain the qt dlls.

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/692#comment:6>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list