Installation des dépendances Zigate NOK mais pas d'erreur dans le log

Bonjour,

je viens de migrer mon RPI3B+ de Stretch à Buster et je ne peux plus faire fonctionner le plug-in Zigate. Il me demande de réinstaller les dépendances mais lorsque je l’exécute, j’obtiens un NOK sur les dépendances (et donc le démon) alors que le journal semble sans erreur :

Installation des dépendances
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 http://packages.microsoft.com/repos/code stable InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5+rpt1).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-serial is already the newest version (3.4-4).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-usb is already the newest version (1.0.2-1).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-requests is already the newest version (2.21.0-1).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (40.8.0-1).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-rpi.gpio is already the newest version (0.7.0-0.1~bpo10+4).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.7.3-1).
The following packages were automatically installed and are no longer required:
python-pyicu python3-asn1crypto python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-cookies python3-entrypoints
python3-future python3-jwt python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-responses python3-rfc3339 python3-tz
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: zigate==0.40.11 in /usr/local/lib/python3.9/site-packages (0.40.11)
Requirement already satisfied: pydispatcher>=2.0.5 in /usr/local/lib/python3.9/site-packages (from zigate==0.40.11) (2.0.5)
Requirement already satisfied: RPi.GPIO in /usr/local/lib/python3.9/site-packages (from zigate==0.40.11) (0.7.0)
Requirement already satisfied: pyusb in /usr/local/lib/python3.9/site-packages (from zigate==0.40.11) (1.1.1)
Requirement already satisfied: bottle in /usr/local/lib/python3.9/site-packages (from zigate==0.40.11) (0.12.19)
Requirement already satisfied: requests in /usr/local/lib/python3.9/site-packages (from zigate==0.40.11) (2.25.1)
Requirement already satisfied: pyserial>=3.2 in /usr/local/lib/python3.9/site-packages (from zigate==0.40.11) (3.5)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests->zigate==0.40.11) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests->zigate==0.40.11) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests->zigate==0.40.11) (1.26.3)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.9/site-packages (from requests->zigate==0.40.11) (4.0.0)
Installation des dépendances terminée !
Vérification de la version installée
0.40.11

Je suppose que cela vient de python mais je n’ai pas la moindre erreur, je ne sais pas pourquoi le système considère qu’il y a un problème.

Après moult recherches, il s’agissait bien d’un problème de mélange de plusieurs versions de python : la 3.9 était parfois prioritaire, ce qui était dans /usr/bin n’était pas cohérent et parfois c’était ce qui est dans /usr/local/bin … après un gros ménage, python 3.7 uniquement conservé, tout a fonctionné parfaitement.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.