Problème pour démarrer les dépendances xiaomi

Bonjour,
je viens d’installer le plugin xiaomi mais je ne parviens pas à installer les dépendances, malgré plusieurs tentatives.
J’ai supprimé le plugin et résinstallé, redémarré la box mais sans succès.
Voici le log en mode debug.

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-updates InRelease
Hit:4 http://httpredir.debian.org/debian buster-backports InRelease
Hit:5 https://apt.armbian.com buster InRelease
Reading package lists...
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-9).
libssl-dev is already the newest version (1.1.1d-0+deb10u3).
python-cryptography is already the newest version (2.6.1-3+deb10u2).
python-dev is already the newest version (2.7.16-1).
python-pip is already the newest version (18.1-5).
The following packages were automatically installed and are no longer required:
python-fasteners python-lockfile python-monotonic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Installation du module construct pour python
Collecting construct
Using cached https://files.pythonhosted.org/packages/30/2f/e2e6bad1b80f744cf5c2a6d622e3dee698b43e6c040f980ae0ac0edd5e54/construct-2.10.54.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-00qFnb/construct/
Installation du module pyudev pour python
Collecting pyudev
Using cached https://files.pythonhosted.org/packages/72/c8/4660d815a79b1d42c409012aaa10ebd6b07a47529b4cb6880f27a24bd646/pyudev-0.22.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-eyrOBI/pyudev/
Installation du module future pour python
Collecting future
Using cached https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kVgA8Q/future/
Installation du module pycrypto pour python
Collecting pycrypto
Using cached https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qPkNQ0/pycrypto/
Installation du module enum-compat pour python
Collecting enum-compat
Using cached https://files.pythonhosted.org/packages/41/46/8ed2368976d934652d8f33f1fdd86f5580fab45e890c90a848e83097a093/enum-compat-0.0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-HeMA1I/enum-compat/
********************************************************
*             Installation terminée                    *
********************************************************


Est ce que vous pourriez m’aider pour pouvoir utiliser correctement ce plugin
PS : je débute sous jeedom

Merci

Bonjour @winnibouba

sudo pip2 install setuptools

akenad :slight_smile:

Bonjour,
Merci pour ton aide.
Si j’ai bien compris, il faut que je tape « sudo pip2 install setuptools » en ligne de commande en ssh avec putty ?

Oui, et relancer l’installation des dépendances.

akenad :slight_smile:

un grand merci
J’ai pu finir d’installer les dépendances et utiliser le plugin