Closed Theandone90 closed 4 years ago
serial.tools fait partie du package python3-serial Je suggère de lancer manuellement la commande suivante sudo apt-get install python3-serial --reinstall
je viens de passer la commande mais toujours l'erreur.
Ma clé est vue comme Silicon_Labs Zigate (/dev/ttyUSB0) dans le plugin Zigate
la clé fonctionne bien avec le Plugin Abeille mais toujours le problème de dépendance sous Zigate
Je viens de trouver la source du problème. Il fallait passer les commandes ci-dessous.
J'allais proposer "sudo pip3 uninstall pyserial" dans le cas où il y aurait un résidu d'installation qq part si ça fonctionne maintenant c'est parfait !
Je viens de recevoir ma Zigate est impossible d'installer les dépendances dans Jeedom v4.
Installation des dépendances Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... python3 is already the newest version (3.7.3-1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (18.1-5+rpt1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-serial is already the newest version (3.4-4). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-usb is already the newest version (1.0.2-1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-requests is already the newest version (2.21.0-1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-setuptools is already the newest version (40.8.0-1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-rpi.gpio is already the newest version (0.7.0~buster-1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.7.3-1). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: zigate==0.36.1 in /usr/local/lib/python3.7/dist-packages (0.36.1) Requirement already satisfied: pydispatcher>=2.0.5 in /usr/local/lib/python3.7/dist-packages (from zigate==0.36.1) (2.0.5) Requirement already satisfied: bottle in /usr/local/lib/python3.7/dist-packages (from zigate==0.36.1) (0.12.18) Requirement already satisfied: pyserial>=3.2 in /usr/lib/python3/dist-packages (from zigate==0.36.1) (3.4) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from zigate==0.36.1) (2.21.0) Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from zigate==0.36.1) (0.7.0) Installation des dépendances terminée ! Vérification de la version installée Traceback (most recent call last): File "", line 1, in
File "/usr/local/lib/python3.7/dist-packages/zigate/init.py", line 9, in
from .core import (ZiGate, ZiGateWiFi, ZiGateGPIO)
File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 17, in
from .transport import (ThreadSerialConnection,
File "/usr/local/lib/python3.7/dist-packages/zigate/transport.py", line 12, in
import serial.tools.list_ports
ModuleNotFoundError: No module named 'serial.tools'