Page 1 sur 3
Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 05 juin 2025, 12:53
par Thierry_06
Bonjour à Tous
Je présente la nouvelle configuration , toute neuve .
Pi4 SSD 128Go tout neuf , installation de l'OS avec Raspiberry pi imager Bookworm 64bit Python 3.11
Domoticz avec la commande "sudo curl -L install.domoticz.com | bash" installation de la version 2025.1
ZigbeeForDomoticz( installation à partir du WIKI) Clef Zigbee sonoff type E
Tout va bien jusqu'à l'installation du plugin dans Configuration /Matériel
A ce moment dans les log j’ai des erreurs
J'ai refait 2 fois la séquence totale d'installation "OS/Domoticz/plugins" au cas ou j'aurai loupé qq chose , le résultat est le même.
j'ai une autre conf avec pi4 bulleye 32bit /domoticz2024/ Zigbeefordomoticz et je n’avais eu aucun Pb pour l'installation du Plugin
Avez vous des pistes pour résoudre ces erreurs ? Ai je loupé une étape ?
Merci de votre Aide
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 05 juin 2025, 17:58
par Bibi49
Salut,
Tu as vue la note sur le wiki ?
Note : Pour Debian 12 Bookworm il faut rajouter –break-system-packages à la fin de la commande précédente. Attention à bien prendre les deux tirets au début.
sudo pip3 install -r requirements.txt--break-system-packages ou
sudo pip3 install -r requirements.txt --break-system-packages (je ne sais pas si il y a l'espèce avant--)
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 05 juin 2025, 20:40
par Keros
Tu as exécuté la commande indiquée dans les logs ?
Je te l'aurais bien remise ici, mais impossible de faire un copier-coller depuis une image. C'est pourquoi nous demandons que les logs soient copiés sous forme de texte.
Merci de lire la section Bien utilisé le forum
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 05 juin 2025, 21:31
par Thierry_06
J'avais essayé mais ca m'a semblé bizarre.
Voila en texte la réponse à sudo python3 -m pip install -r requirements.txt --upgrade
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit
http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
En réponse à Bibi49 oui j'ai bien rajouté --break-system-pakage
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 05 juin 2025, 21:56
par Keros
Ce problème est documenté dans le wiki :
Tuto_PythonVirtualEnv
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 06 juin 2025, 15:23
par Thierry_06
Bonjour Keros
J'ai appliqué le Wiki que tu m'as indiqué. ,
J'ai rebooté le pi4 , et réinstallé le plugin ZigbeeforDomoticz , redémarré domoticz et le résultat est :
2025-06-06 15:10:12.966 Raspi: Temp (Internal Temperature)
2025-06-06 15:10:13.341 Status: Zigbee: Initialized version 7.1, author 'pipiche38'
2025-06-06 15:10:13.342 Status: Zigbee: Welcome to Zigbee for Domoticz (Z4D) plugin. (c)pipiche38 - 2018 - 2025
2025-06-06 15:10:13.343 Zigbee: PYTHONPATH is set to: /home/pi/domoticz/Domoticz_Python_Environment:
2025-06-06 15:10:13.343 Status: Zigbee: Z4D requires python3.9 or above and you are running 3.11
2025-06-06 15:10:13.343 Status: Zigbee: Z4D is loading configuration settings
2025-06-06 15:10:13.345 Error: Zigbee: Cannot access path: /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2025-06-06 15:10:13.346 Status: Zigbee: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2025-06-06 15:10:13.346 Status: Zigbee: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2025-06-06 15:10:13.346 Status: Zigbee: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2025-06-06 15:10:13.346 Status: Zigbee: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data
2025-06-06 15:10:13.346 Status: Zigbee: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf
2025-06-06 15:10:13.346 Status: Zigbee: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2025-06-06 15:10:13.346 Status: Zigbee: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports
2025-06-06 15:10:13.346 Status: Zigbee: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www
2025-06-06 15:10:13.346 Status: Zigbee: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs
2025-06-06 15:10:13.346 Status: Zigbee: SSLCertificate set to /home/pi/domoticz/plugins/Domoticz-Zigbee/certs/server.crt
2025-06-06 15:10:13.346 Status: Zigbee: SSLPrivateKey set to /home/pi/domoticz/plugins/Domoticz-Zigbee/certs/server.key
2025-06-06 15:10:13.346 Status: Zigbee: expJsonDatabase set to 0
2025-06-06 15:10:13.584 Status: Zigbee: Z4D is checking the python modules requirements
2025-06-06 15:10:13.585 Status: Zigbee: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigbee/constraints.txt
2025-06-06 15:10:13.588 Status: Zigbee: - zigpy==0.80.0 version required 0.80.0 installed 0.80.0
2025-06-06 15:10:13.589 Status: Zigbee: - zigpy_znp==0.14.0 version required 0.14.0 installed 0.14.0
2025-06-06 15:10:13.590 Status: Zigbee: - zigpy_deconz==0.25.0 version required 0.25.0 installed 0.25.0
2025-06-06 15:10:13.592 Status: Zigbee: - bellows==0.45.0 version required 0.45.0 installed 0.45.0
2025-06-06 15:10:13.594 Status: Zigbee: - dnspython==2.7.0 version required 2.7.0 installed 2.7.0
2025-06-06 15:10:13.595 Status: Zigbee: - pyserial>=3.5 version required 3.5 installed 3.5
2025-06-06 15:10:13.597 Error: Zigbee: Looks like charset-normalizer==2.0.11 Python module is not installed or does not meet the required version. Requires 2.0.11, Installed 3.0.1.Make sure to install the required Python3 module with the correct version.
2025-06-06 15:10:13.597 Error: Zigbee: Use the command:
2025-06-06 15:10:13.597 Error: Zigbee: sudo python3 -m pip install -r requirements.txt --upgrade
2025-06-06 15:10:13.597 Zigbee: onStop()
Le problème n'est pas résolu .
J'ai ressayé comme hier la commande sudo python3 -m pip install -r requirements.txt --upgrade ==> même réponse que hier
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 06 juin 2025, 20:19
par Keros
Tu peux essayer ceci pour forcer la version demandée : sudo python3 -m pip install --force-reinstall -v "charset-normalizer==2.0.11"
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 06 juin 2025, 21:12
par Thierry_06
bonsoir
après essais de la commande proposée
2025-06-06 21:09:02.461 Status: Zigbee: - pyserial>=3.5 version required 3.5 installed 3.5
2025-06-06 21:09:02.464 Error: Zigbee: Looks like charset-normalizer==2.0.11 Python module is not installed or does not meet the required version. Requires 2.0.11, Installed 3.0.1.Make sure to install the required Python3 module with the correct version.
2025-06-06 21:09:02.464 Error: Zigbee: Use the command:
2025-06-06 21:09:02.464 Error: Zigbee: sudo python3 -m pip install -r requirements.txt --upgrade
2025-06-06 21:09:02.464 Zigbee: onStop()
Pas d’amélioration
Merci quand meme
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 06 juin 2025, 21:34
par Keros
Une dernière proposition en me basant sur le wiki :
https://zigbeefordomoticz.github.io/wik ... d-cchardet
pip install --force-reinstall --upgrade charset-normalizer==2.0.11
Re: Probleme installation plugin sur Pi4 64bit domoticZ 2025.1
Publié : 07 juin 2025, 13:03
par Thierry_06
Bonjour
avec la nouvelle commande ==> idem
Dans les log il y a une ligne qui m’embête je l'ai mis en gras . Le fichier PluginConf.txt n'existe pas
2025-06-07 12:39:52.258 Status: Zigbee: Initialized version 7.1, author 'pipiche38'
2025-06-07 12:39:52.259 Status: Zigbee: Welcome to Zigbee for Domoticz (Z4D) plugin. (c)pipiche38 - 2018 - 2025
2025-06-07 12:39:52.259 Zigbee: PYTHONPATH is not set
2025-06-07 12:39:52.259 Status: Zigbee: Z4D requires python3.9 or above and you are running 3.11
2025-06-07 12:39:52.259 Status: Zigbee: Z4D is loading configuration settings
2025-06-07 12:39:52.262 Error: Zigbee: Cannot access path: /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2025-06-07 12:39:52.262 Status: Zigbee: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2025-06-07 12:39:52.262 Status: Zigbee: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2025-06-07 12:39:52.262 Status: Zigbee: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2025-06-07 12:39:52.262 Status: Zigbee: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data
2025-06-07 12:39:52.262 Status: Zigbee: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf
2025-06-07 12:39:52.262 Status: Zigbee: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2025-06-07 12:39:52.262 Status: Zigbee: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports
2025-06-07 12:39:52.262 Status: Zigbee: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www
2025-06-07 12:39:52.262 Status: Zigbee: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs
2025-06-07 12:39:52.262 Status: Zigbee: SSLCertificate set to /home/pi/domoticz/plugins/Domoticz-Zigbee/certs/server.crt
2025-06-07 12:39:52.262 Status: Zigbee: SSLPrivateKey set to /home/pi/domoticz/plugins/Domoticz-Zigbee/certs/server.key
2025-06-07 12:39:52.262 Status: Zigbee: expJsonDatabase set to 0
2025-06-07 12:39:52.492 Status: Zigbee: Z4D is checking the python modules requirements
2025-06-07 12:39:52.492 Status: Zigbee: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigbee/constraints.txt
2025-06-07 12:39:52.495 Status: Zigbee: - zigpy==0.80.0 version required 0.80.0 installed 0.80.0
2025-06-07 12:39:52.497 Status: Zigbee: - zigpy_znp==0.14.0 version required 0.14.0 installed 0.14.0
2025-06-07 12:39:52.498 Status: Zigbee: - zigpy_deconz==0.25.0 version required 0.25.0 installed 0.25.0
2025-06-07 12:39:52.499 Status: Zigbee: - bellows==0.45.0 version required 0.45.0 installed 0.45.0
2025-06-07 12:39:52.501 Status: Zigbee: - dnspython==2.7.0 version required 2.7.0 installed 2.7.0
2025-06-07 12:39:52.502 Status: Zigbee: - pyserial>=3.5 version required 3.5 installed 3.5
2025-06-07 12:39:52.505 Error: Zigbee: Looks like charset-normalizer==2.0.11 Python module is not installed or does not meet the required version. Requires 2.0.11, Installed 3.0.1.Make sure to install the required Python3 module with the correct version.
2025-06-07 12:39:52.505 Error: Zigbee: Use the command:
2025-06-07 12:39:52.505 Error: Zigbee: sudo python3 -m pip install -r requirements.txt --upgrade
2025-06-07 12:39:52.505 Zigbee: onStop()
Bon Week End