Problème dépendance Xiaomi Home/Harmony

Bonjour, après pas mal de rechercher je ne parviens pas a trouver une solution a mon soucis.
Ayant un problème avec le plugin Harmony du a une erreur de python il semblerait. j’ai remarqué que mon plugin Xiaomi Home avais aussi un problème.

J’ai donc relancer les dépendances mais j’obtiens ce resultat. :

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_xiaomihome
+ echo 1
+ echo 2
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Files removed: 51
+ echo 4
+ sudo pip3 install --upgrade pip
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (20.3.4)
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
+ echo 5
+ sudo pip3 install --force-reinstall --upgrade python-miio
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting python-miio
Downloading python-miio-0.5.0.1.tar.gz (180 kB)
ERROR: Package 'python-miio' requires a different Python: 2.7.18 not in '>=3.6'
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
+ echo 6
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome
+ rm /tmp/jeedom_install_in_progress_xiaomihome
+ echo '*******************End of package installation******************'
*******************End of package installation******************

la commande : /usr/bin/python2 -m pip install --upgrade pip
me renvois ceci :

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (20.3.4)
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.

pour l’update des dépendances deu plugin Harmony Hub j’ai ceci :

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://download.docker.com/linux/debian bullseye InRelease
Get:5 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
Fetched 4586 B in 0s (9202 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (20.3.4-4+deb11u1).
python3-dev is already the newest version (3.9.2-3).
python3-setuptools is already the newest version (52.0.0-4).
The following packages were automatically installed and are no longer required:
docker-scan-plugin libpython2-dev libpython2.7 libpython2.7-dev libre2-9
python2-dev python2.7-dev sse3-support
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages (2.27.1)
Requirement already satisfied: chardet<5,>=3.0.2; python_version < "3" in /usr/local/lib/python2.7/dist-packages (from requests) (4.0.0)
Requirement already satisfied: idna<3,>=2.5; python_version < "3" in /usr/local/lib/python2.7/dist-packages (from requests) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests) (1.26.18)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests) (2021.10.8)
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already satisfied: asyncio in /usr/local/lib/python2.7/dist-packages (3.4.3)
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting websockets
Downloading websockets-5.0.1.tar.gz (68 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-WEy7lj/websockets/setup.py'"'"'; __file__='"'"'/tmp/pip-install-WEy7lj/websockets/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-pJ7ucC
cwd: /tmp/pip-install-WEy7lj/websockets/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in 
File "/tmp/pip-install-WEy7lj/websockets/setup.py", line 1, in 
import pathlib
ImportError: No module named pathlib
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting aiohttp
Downloading aiohttp-2.3.1.tar.gz (1.1 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
ERROR: Package u'aiohttp' requires a different Python: 2.7.18 not in '>=3.4.2'
WARNING: You are using pip version 20.3.4; however, version 23.3 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.
********************************************************
*             Installation terminée                    *
********************************************************

Je ne sais plus trop quoi faire… Je me doute qu’une réinstallation complete vas résoudre le soucis mais si je pouvais évité j’avoue que se serait top :wink:

D’avance merci pour vos réponse.

Julien

Bonjour,

Déjà ne coller plus un log dans un message comme ca, c’est illisible. Il faur d’abord utiliser le bouton </> pour coller en Texte préformaté
J’ai corrigé votre message.

Ensuite un post par plugin car là on mélange deux choses qui n’ont aucun rapport.

Ça ce n’était pas à faire…
Je ne sais pas ce que vous avez fait pour être sur python 2 sous bullseye.
D’autres commandes ont été exécutées ?

Pourquoi éviter?
Moi j’ai l’impression que là où ca en est ca sera plus rapide

Bonjour, désolé pour le format du message j’avoue ne pas avoir vérifié après avoir publié j’ai cliquer sur citation (je pensais que c’est cela qui fallait faire)

Merci je vais donc faire une réinstallation complète, je voulais en être sur.

Merci pour votre réponse et encore désolé pour le format du message.

Faites bien attention de ne pas installer debian12 mais plutôt debian11

Merci pour le rappelle :wink: j’ai déjà eu la blague une fois a l’époque de debian 11
lol