Raspberry Pi Imager v1.8.5
Model: Raspberry Pi4
OS: Raspberry Pi OS (other) > Raspberry Pi OS Lite (64-bit) (Debian Bookworm)
I installed 3 docker containers: domoticz, mqtt5 and zwavejs-ui each in a container.
Imported the domoticz sqlite db from my previous Pi3B; my 5+ years of historical data is there. Top!
System runs like a charm.
Now I'm set for Python plugins .. or not?
Python version in Domoticz > About:
and, at the command line:Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
So what is it? 3.9.2 or 3.11.2?rpi4@raspi4:~ $ python3 --version
Python 3.11.2
So I took the steps from:
https://www.domoticz.com/wiki/Using_Python_plugins
OKrpi4@raspi4:~ $ sudo apt install python3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.11.2-1+b1).
python3 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
So libpython3.11 is there; no need to installrpi4@raspi4:~ $ dpkg --get-selections | grep libpython
libpython3-stdlib:arm64 install
libpython3.11:arm64 install
libpython3.11-minimal:arm64 install
libpython3.11-stdlib:arm64 install
Again check libpython:rpi4@raspi4:~ $ sudo apt install python3-dev
....
The following NEW packages will be installed:
javascript-common libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.11-dev
python3-dev python3.11-dev zlib1g-dev
0 upgraded, 10 newly installed, 0 to remove and 12 not upgraded.
....
So libpython3-dev:arm64 is installed nowrpi4@raspi4:~ $ dpkg --get-selections | grep libpython
libpython3-dev:arm64 install
libpython3-stdlib:arm64 install
libpython3.11:arm64 install
libpython3.11-dev:arm64 install
libpython3.11-minimal:arm64 install
libpython3.11-stdlib:arm64 install
So far, so good
Reboot, just to make sure.
Check the Python3 versions: still the same:
Domoticz > About: 3.9.2
Command Line: 3.11.2
So what now?
Ignore this discrepancy and go ahead with python plugins?
I don't think I can google myself out of this.
Any suggestions?