Now I'd like to go for Python plugins.
My Python version is 3.7.3.
The Domoticz about web page says: 'Python Version: None'
A couple of days ago I screwed up my installation when trying to upgrade to 3.9. I had to restore a full backup.
So now I have less ambition, I would prefer to stick to 3.7 for the moment to at least get it working.
I follow the instructions on the wiki/Using_Python_plugins page.
"libc6-dev breaks libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6+rpi1 will be installed"pi@raspberrypi:~ $ sudo apt install python3
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen
dat u om een onmogelijke situatie gevraagd heeft, of, indien u
de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden.
De volgende informatie kan misschien helpen de situatie op te lossen:
De volgende pakketten hebben niet-voldane vereisten:
libc6-dev : Breekt: libgcc-8-dev (< 8.4.0-2~) maar 8.3.0-6+rpi1 zal geïnstalleerd worden
E: Fout, pkgProblemResolver::Resolve leverde defecten op. Dit kan veroorzaakt worden door vastgehouden pakketten.
Oops, then step by step:
pi@raspberrypi:~ $ python3 --version
Python 3.7.3
pi@raspberrypi:~ $ dpkg --get-selections | grep libpython
libpython-dev:armhf install
libpython-stdlib:armhf install
libpython2-dev:armhf install
libpython2-stdlib:armhf install
libpython2.7:armhf install
libpython2.7-dev:armhf install
libpython2.7-minimal:armhf install
libpython2.7-stdlib:armhf install
libpython3-stdlib:armhf install
libpython3.5:armhf install
libpython3.5-minimal:armhf install
libpython3.5-stdlib:armhf install
libpython3.7:armhf install
libpython3.7-minimal:armhf install
libpython3.7-stdlib:armhf install
So far, so goodpi@raspberrypi:~ $ sudo apt install libpython3.7
....
libpython3.7 is reeds de nieuwste versie (3.7.3-2+deb10u6).
So python3-dev is the culprit.pi@raspberrypi:~ $ sudo apt install python3-dev
...
Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen
dat u om een onmogelijke situatie gevraagd heeft, of, indien u
de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden.
De volgende informatie kan misschien helpen de situatie op te lossen:
De volgende pakketten hebben niet-voldane vereisten:
libc6-dev : Breekt: libgcc-8-dev (< 8.4.0-2~) maar 8.3.0-6+rpi1 zal geïnstalleerd worden
E: Fout, pkgProblemResolver::Resolve leverde defecten op. Dit kan veroorzaakt worden door vastgehouden pakketten.
I found nothing here on the Domoticz forum.
On the internet you can find that the problem is associated with the Buster to Bullseye upgrade.
From the "try-and-error" suggestions that I found, I tried: remove libgcc-8-dev.
This worked in the sense that I had 3.9 installed, visible in the about. I used domoticz for a couple of days without any visible problem. I didn't use Python yet.
Until I rebooted. Then it appeared my system was screwed up and decided to restore a backup!
Another suggestion is to install gcc-8-base.
I ran it in simulate mode, but it is more than just a couple additional packages; also removes.
Given my previous experience I am looking for a more substantiated solution than another try-and-error.
So any 'substantiated' suggestions are more than welcome ..