Re: [Qgis-user] Python console sys.stdout.encoding

2024-04-10 Thread Adam Nielsen via QGIS-User
> Effectively it is part of the answer I am looking for. But my problem is > "higher" in the python settings for QGIS. If I write 'sys.stdout.encoding = > "utf-8"' to the console, my plugin will be loaded without problem. I am > developing a plugin whit "from ultralytics import YOLO" and I am rece

Re: [Qgis-user] Python console sys.stdout.encoding

2024-04-08 Thread Pierre Cardinal via QGIS-User
Pierre -Message d'origine- De : QGIS-User De la part de Andrea Giudiceandrea via QGIS-User Envoyé : 8 avril 2024 07:21 À : qgis-user@lists.osgeo.org Objet : Re: [Qgis-user] Python console sys.stdout.encoding > Why with the python shell it is possible to ask what is the v

Re: [Qgis-user] Python console sys.stdout.encoding

2024-04-08 Thread Andrea Giudiceandrea via QGIS-User
Why with the python shell it is possible to ask what is the value of sys.stdout.encoding but this value does not exist in the python console of Qgis ? Hi Pierre, I think it's very likely due to: https://github.com/qgis/QGIS/blob/35aadbc18a2245fce299a3597137c8d9b7f048b0/python/console/console_

[Qgis-user] Python console sys.stdout.encoding

2024-04-07 Thread Sympatico via QGIS-User
Hi,Why with the python shell it is possible to ask what is the value of sys.stdout.encoding but this value does not exist in the python console of Qgis ?Pierre ___ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: https://lists.osgeo.org/mailman