ERROR: Cannot uninstall idna 3.3, RECORD file not found - doublon

Bonjour,

Tout fonctionnais bien depuis plus d’un an.
Je n’avais plus de remonter de mes périphérique Zigbbee, j’ai relancé une install des dépendance et tjs echec.

Version zigbee : 2023-05-26 01:03:31
J’ai éssayé de desinstallé réinstallé tjs ko, j’ai fait :

sudo apt update
sudo apt-get update

Mise à jour de tous jeedom depuis le centre de mise à jour.
C’est tjs KO. :
zigbee_packages : J’ai laissé se qu’il me semble le plus utile …

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'rustc' is not installed, so not removed
The following package was automatically installed and is no longer required:
  rpi-eeprom-images
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.2.1)
WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 68.0.0
    Uninstalling setuptools-68.0.0:
      Successfully uninstalled setuptools-68.0.0
Successfully installed setuptools-68.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
Installing collected packages: wheel
  Attempting uninstall: wheel
    Found existing installation: wheel 0.41.2
    Uninstalling wheel-0.41.2:
      Successfully uninstalled wheel-0.41.2
Successfully installed wheel-0.41.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.0.4
    Uninstalling urllib3-2.0.4:
      Successfully uninstalled urllib3-2.0.4
  Attempting uninstall: idna
    WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages
    Found existing installation: idna 3.3
ERROR: Cannot uninstall idna 3.3, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps idna==3.3'.

→ j’ai fait ça pip install --force-reinstall --no-deps idna==3.3 mais tjs KO

Quelqu’un à une idée ?

Merci pour vos lumières

Aucune idée si cela va résoudre le cas mais il faudrait plutot faire ceci

sinon ce n’est probablement pas la bonne version de pip qui a été utilisée

une petite recherche sur les erreurs similaires: Résultats de recherche pour « ERROR: Cannot uninstall idna 3.3, RECORD file not found » - Communauté Jeedom

Bonjour,
C’est un soucis connu et ceux pourquoi ce plugin n’est plus activement maintenu (entre autre). Le mieux est de passer sur jeezigbee.

Bonjour j’ai éssayé ça
sudo python3 -m pip install --force-reinstall --no-deps idna==3.3
mais pas mieux, j’ai donc suivi le conseil de Loic et en effet tout fonctionne correctement avec jeezigbee.

Merci à vous !

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