Hi Ari,

On Wed, 11. Aug 2021 at 17:16:35 -0500, Ari Meyer wrote:
> Test with python-qgis-ltr.bat:
> Python 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64
> bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sip

This issue is due to Python 3.9.  It doesn't use PATH to find DLLs anymore.
Thereore the qgis module now splits PATH and uses os.add_dll_directory on each,
After that it should behave as before.  So your fix should be to import qgis
first.

BTW the latest LTR is also in old osgeo4w and should be not affected.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                 IRC: jef on Libera|OFTC

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to