Page 1 sur 1

version python manquante dans DZ

Publié : 20 janv. 2023, 18:39
par pierrotori
je viens de voir ca dans ma log domoticz
Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.

voici ma configuration

Code : Tout sélectionner

--Configuration --
rpi : Raspberry Pi 2 Model B Rev 1.1
Harware : a01041
Modele : Cortex-A7
OS rpi : Linux raspberrypi 5.15.84-v7+ #1613 SMP Thu Jan 5 11:59:48 GMT 2023 armv7l GNU/Linux
Os Name : bullseye
Release: 11
--Software --
Domoticz : 2022.2
Build : 14606
Time : 2022-11-05 13
DZvents version : 3.1.8
Python version : Python 3.9.2
zwave-js-ui : v8.6.2 
mosquitto version 2.0.11
mosquitto is an MQTT v5.0/v3.1.1/v3.1 broker.
Homebridge version : 1.6.0-2023-01-01
c'est bizarre ca ramène bien une version 3.X
pi@raspberrypi:~ $ python3 --version
Python 3.9.2
pi@raspberrypi:~ $ python --version
Python 3.9.2

qu'en pensez vous ?

Re: version python manquante dans DZ

Publié : 20 janv. 2023, 18:42
par Chrominator
Je pense que c'est mieux de regarder dans le "A propos" de domoticz pour voir quelles versions sont utilisées (tu as peut-être plusieurs versions de python).

Re: version python manquante dans DZ

Publié : 20 janv. 2023, 19:30
par pierrotori
il y a écrit cela, donc none

Version: 2022.2
Build Hash: eea9db734
Compile Date: 2022-11-05 13:05:35
dzVents Version: 3.1.8
Python Version: None
Uptime: 23 Heures, 39 Minutes, 15 Secondes

ensuite j'ai ces link
pi@raspberrypi:~ $ ls -ln /usr/bin/python
lrwxrwxrwx 1 0 0 7 2 mars 2021 /usr/bin/python -> python3
pi@raspberrypi:~ $ ls -ln /usr/bin/python3
lrwxrwxrwx 1 0 0 9 5 avril 2021 /usr/bin/python3 -> python3.9

Si domoticz utilise le lien python alors ce n'est pas un 3.X, j'ai donc créer un lien python sur python3.9 mais pareil dans a propos?!?

Re: version python manquante dans DZ

Publié : 20 janv. 2023, 20:19
par Chrominator
Bonne pioche donc :D

Il y a un tuto pour installer un python qui fonctionne avec domoticz, je te propose de t'y référer.
https://www.domoticz.com/wiki/Using_Python_plugins

Re: version python manquante dans DZ

Publié : 21 janv. 2023, 11:30
par pierrotori
Dans ce cas pk le plugin n’est pas installe par defaut
ce plugin doit être très utile sous docker