I currently running Domoticz 2024.7 on Rpi/Bulleye, meaning defaults Python 3.9.
I am now running into troubles due to a bug in Python 3.9 --> https://github.com/python/cpython/issues/88216.
The bug is solved in Python 3.10, but not backported in Python 3.9.
I would like to avoid migrating to Bookworm to just get python 3.10 (as there are some breaking changes, like networking etc).
I found a backport of Python 3.10 in https://community.home-assistant.io/t/h ... eye/528439, but to avoid breaking the system, it will not be the default python3 version, but installed aside version 3.9 (which stays the system default).
Before trying this workaround, has somebody experience with a "side version of python3" combined with Domoticz? As Domoticz is working with the embedded python "libpython", will it be possible to start domoticz so that it takes the "side loaded" python 3.10? And how to achieve this?
Any help or thoughts are welcome!
Filip
Using python 3.10 on Bullseye with Domoticz
Moderator: leecollings
-
- Posts: 100
- Joined: Thursday 03 November 2016 10:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using python 3.10 on Bullseye with Domoticz
Instead of using this way, I was thinking also to the possibility to compile the python 3.10 version. Then I could use to manage the 2 version (default would be 3.9)
But then I comie up with a similar question: can my raspberry pi system run on 3.9 (Bullseye), while domoticz uses the 3.10... Will domoticz find automatically the more recent version? Or is there a dependency with the system-wide used python version?
Thanks for your help
FIlip
Code: Select all
update-alternatives
But then I comie up with a similar question: can my raspberry pi system run on 3.9 (Bullseye), while domoticz uses the 3.10... Will domoticz find automatically the more recent version? Or is there a dependency with the system-wide used python version?
Thanks for your help
FIlip
Who is online
Users browsing this forum: No registered users and 0 guests