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

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

2024-04-08 Thread Pierre Cardinal via QGIS-User
gine- 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 value of sys.stdout.encoding but this val

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: