[Qgis-user] 3.16.8+ LTR vs. old 3.16.x for SIP and PyQt5 imports
Ari Meyer
ari.meyer at gmail.com
Fri Aug 13 11:35:58 PDT 2021
Thanks for the info, Jurgen. I will pass this on to my team.
Cheers!
Ari
On Fri, Aug 13, 2021 at 10:12 AM Jürgen E. Fischer <jef at norbit.de> wrote:
> Hi Ari,
>
> On Thu, 12. Aug 2021 at 17:06:02 -0500, Ari Meyer wrote:
> > Thank you, Jurgen -- that trick did the job. Is this "fix" documented
> > anywhere? Is there any more reliable solution? I'm concerned that some
> of
> > our devs won't remember to put qgis higher in the imports, and we'll have
> > to keep dealing with this.
>
> Hm, apparently running %PYTHONHOME%\python instead of just python in
> python-qgis-ltr.bat causes this. No exactly sure why, but w/o it will just
> import Qt. I guess when run from bin it also finds DLLs there, which it
> otherwise doesn't - although bin is in PATH.
>
> > Also, why is it that we only encounter this problem when running from
> > outside of QGIS? When running within QGIS, we don't have any such
> issues.
>
> QGIS imports qgis (and also uses AddDllDirectory directly)
>
>
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210813/d6e39311/attachment.html>
More information about the Qgis-user
mailing list