J'ai l'erreur "SyntaxError: invalid syntax"

Bonjour, Je confirme.
Ca fait deux jours que suite à la MaJ de Jeedom core + Python 2/3 + linux, le daemon OpenZWave ne se lance plus.
Test avec Home Assistant : la clé Aeotec fonctionne très bien… C’est un problème côté Jeedom.

Bonjour,

Rien ne dit que ton problème est le même.
Dans ton cas, c’est la mise à jour des packages python 2 qui a tout cassé. Cherche dans le forum.

1 « J'aime »
LOG:
>  [2022-12-17 17:05:37]ERROR : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log
> [2022-12-17 17:06:40]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
> [2022-12-17 17:06:41]INFO : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device /dev/ttyACM0 --loglevel debug --port 8083 --config_folder /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/config --data_folder /var/www/html/plugins/openzwave/core/class/../../data --callback http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php --apikey XH1Dsk4XOk6B11u9BLxdJMDPC8fjT04J --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
> Traceback (most recent call last):
> File "/var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py", line 18, in 
> from ozwave import globals,server_utils,rest_server
> File "/var/www/html/plugins/openzwave/resources/openzwaved/ozwave/server_utils.py", line 7, in 
> from jeedom.jeedom import *
> File "/var/www/html/plugins/openzwave/resources/openzwaved/jeedom/jeedom.py", line 21, in 
> import requests
> File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 48, in 
> from charset_normalizer import __version__ as charset_normalizer_version
> File "/usr/local/lib/python2.7/dist-packages/charset_normalizer/__init__.py", line 24, in 
> from .api import from_bytes, from_fp, from_path
> File "/usr/local/lib/python2.7/dist-packages/charset_normalizer/api.py", line 34
> sequences: bytes,
> ^
> SyntaxError: invalid syntax
> [2022-12-17 17:07:05]ERROR : Erreur exécution de la commande [Entrée][Plafonnier][On] : Echec de la requête http : http://127.0.0.1:8083/node?node_id=74&instance_id=1&cc_id=38&index=0&type=setvalue&value=255&apikey=XH1Dsk4XOk6B11u9BLxdJMDPC8fjT04J Curl error : Failed to connect to 127.0.0.1 port 8083: Connection refused
> [2022-12-17 17:07:12]ERROR : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log

Alors normalement quand on est poli on commence par « Bonjour », ensuite on ne vient pas polluer le sujet d’un autre et enfin on fait au moins l’effort de suivre les recommandations de ceux qui prennent le temps de répondre :

Merci

1 « J'aime »

Bonjour @Madcow merci pour ta suggestion.
Python2, ca fait un bail qu’il ne veut plus se mettre à jour. les suggestions de passer par un terminal ne m’y ont pas aidé. Ca tournait bien cependant, jusqu’à il y a 2 jours…

LOG

+ echo '*******************Begin of package upgrade type pip2******************'
*******************Begin of package upgrade type pip2******************
+ sudo pip2 install --force-reinstall --upgrade astroid
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 astroid
Downloading astroid-1.6.6-py2.py3-none-any.whl (305 kB)
Collecting wrapt
Downloading wrapt-1.14.1-cp27-cp27mu-manylinux2010_x86_64.whl (75 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting lazy-object-proxy
Downloading lazy_object_proxy-1.6.0-cp27-cp27mu-manylinux1_x86_64.whl (53 kB)
Collecting backports.functools-lru-cache; python_version < "3.4"
Downloading backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)
Collecting enum34>=1.1.3; python_version < "3.4"
Using cached enum34-1.1.10-py2-none-any.whl (11 kB)
Collecting singledispatch; python_version < "3.4"
Using cached singledispatch-3.7.0-py2.py3-none-any.whl (9.2 kB)
Installing collected packages: wrapt, six, lazy-object-proxy, backports.functools-lru-cache, enum34, singledispatch, astroid
Attempting uninstall: wrapt
Found existing installation: wrapt 1.10.11
Uninstalling wrapt-1.10.11:
Successfully uninstalled wrapt-1.10.11
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: lazy-object-proxy
Found existing installation: lazy-object-proxy 1.3.1
Uninstalling lazy-object-proxy-1.3.1:
Successfully uninstalled lazy-object-proxy-1.3.1
Attempting uninstall: backports.functools-lru-cache
Found existing installation: backports.functools-lru-cache 1.5
Uninstalling backports.functools-lru-cache-1.5:
Successfully uninstalled backports.functools-lru-cache-1.5
Attempting uninstall: enum34
Found existing installation: enum34 1.1.10
Uninstalling enum34-1.1.10:
Successfully uninstalled enum34-1.1.10
Attempting uninstall: singledispatch
Found existing installation: singledispatch 3.7.0
Uninstalling singledispatch-3.7.0:
Successfully uninstalled singledispatch-3.7.0
Attempting uninstall: astroid
Found existing installation: astroid 1.6.3
Uninstalling astroid-1.6.3:
Successfully uninstalled astroid-1.6.3
Successfully installed astroid-1.6.6 backports.functools-lru-cache-1.6.4 enum34-1.1.10 lazy-object-proxy-1.6.0 singledispatch-3.7.0 six-1.16.0 wrapt-1.14.1
+ sudo pip2 install --force-reinstall --upgrade backports.functools-lru-cache
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 backports.functools-lru-cache
Using cached backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)
Installing collected packages: backports.functools-lru-cache
Attempting uninstall: backports.functools-lru-cache
Found existing installation: backports.functools-lru-cache 1.6.4
Uninstalling backports.functools-lru-cache-1.6.4:
Successfully uninstalled backports.functools-lru-cache-1.6.4
Successfully installed backports.functools-lru-cache-1.6.4
+ sudo pip2 install --force-reinstall --upgrade bcrypt
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 bcrypt
Downloading bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59 kB)
Collecting cffi>=1.1
Using cached cffi-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl (390 kB)
Collecting six>=1.4.1
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Installing collected packages: pycparser, cffi, six, bcrypt
Attempting uninstall: pycparser
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Attempting uninstall: cffi
Found existing installation: cffi 1.15.1
Uninstalling cffi-1.15.1:
Successfully uninstalled cffi-1.15.1
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: bcrypt
Found existing installation: bcrypt 3.1.6
Uninstalling bcrypt-3.1.6:
Successfully uninstalled bcrypt-3.1.6
Successfully installed bcrypt-3.1.7 cffi-1.15.1 pycparser-2.21 six-1.16.0
+ sudo pip2 install --force-reinstall --upgrade beautifulsoup4
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 beautifulsoup4
Downloading beautifulsoup4-4.9.3-py2-none-any.whl (115 kB)
Collecting soupsieve<2.0,>1.2; python_version < "3.0"
Downloading soupsieve-1.9.6-py2.py3-none-any.whl (33 kB)
Collecting backports.functools-lru-cache; python_version < "3"
Using cached backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)
Installing collected packages: backports.functools-lru-cache, soupsieve, beautifulsoup4
Attempting uninstall: backports.functools-lru-cache
Found existing installation: backports.functools-lru-cache 1.6.4
Uninstalling backports.functools-lru-cache-1.6.4:
Successfully uninstalled backports.functools-lru-cache-1.6.4
Attempting uninstall: soupsieve
Found existing installation: soupsieve 1.8
Uninstalling soupsieve-1.8:
Successfully uninstalled soupsieve-1.8
Attempting uninstall: beautifulsoup4
Found existing installation: beautifulsoup4 4.7.1
Uninstalling beautifulsoup4-4.7.1:
Successfully uninstalled beautifulsoup4-4.7.1
Successfully installed backports.functools-lru-cache-1.6.4 beautifulsoup4-4.9.3 soupsieve-1.9.6
+ sudo pip2 install --force-reinstall --upgrade blessings
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 blessings
Downloading blessings-1.7-py2-none-any.whl (26 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, blessings
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: blessings
Found existing installation: blessings 1.6.1
Uninstalling blessings-1.6.1:
Successfully uninstalled blessings-1.6.1
Successfully installed blessings-1.7 six-1.16.0
+ sudo pip2 install --force-reinstall --upgrade blinker
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 blinker
Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Installing collected packages: blinker
Attempting uninstall: blinker
Found existing installation: blinker 1.4
ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ sudo pip2 install --force-reinstall --upgrade coverage
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 coverage
Downloading coverage-5.5-cp27-cp27mu-manylinux2010_x86_64.whl (236 kB)
Installing collected packages: coverage
Attempting uninstall: coverage
Found existing installation: coverage 4.5.1
Uninstalling coverage-4.5.1:
Successfully uninstalled coverage-4.5.1
Successfully installed coverage-5.5
+ sudo pip2 install --force-reinstall --upgrade Cython
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 Cython
Downloading Cython-0.29.32-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB)
Installing collected packages: Cython
Attempting uninstall: Cython
Found existing installation: Cython 0.29.2
ERROR: Cannot uninstall 'Cython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ sudo pip2 install --force-reinstall --upgrade distro-info
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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.
Processing /root/.cache/pip/wheels/c8/c2/85/6fe6cdb62589cf1a3fe46bcb7dc73494c0827a2afa816ecf33/distro_info-0.0.0-cp27-none-any.whl
Installing collected packages: distro-info
Attempting uninstall: distro-info
Found existing installation: distro-info 0.0.0
Uninstalling distro-info-0.0.0:
Successfully uninstalled distro-info-0.0.0
Successfully installed distro-info-0.0.0
+ sudo pip2 install --force-reinstall --upgrade docutils
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 docutils
Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB)
Installing collected packages: docutils
Attempting uninstall: docutils
Found existing installation: docutils 0.14
ERROR: Cannot uninstall 'docutils'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ sudo pip2 install --force-reinstall --upgrade duplicity

Bonne idée ! Merci @Madcow : voici le résultat. Effectivement, j’essaie au max de passer par l’interface Jeedom pour les MaJ, et je fais un petit tour minimal du côté d’un root Debian pour apt-get de temps en temps.
Ceci dit, tout tournait correctement jusqu’à la dernière MaJ Jeedom core…

Voici le résultat :

sudo pip show charset-normalizer

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 Release process - pip documentation v24.1.dev0 pip 21.0 will remove support for this functionality.
Name: charset-normalizer
Version: 3.0.1
Summary: The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
Home-page: GitHub - Ousret/charset_normalizer: Truly universal encoding detector in pure Python
Author: Ahmed TAHRI
Author-email: ahmed.tahri@cloudnursery.dev
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires:
Required-by:

Du coup suivre la ligne suivante du post mis en référence.

sudo pip install --force-reinstall --upgrade charset-normalizer==2.1

Et tu as indiqué avoir mis à jour python 2/3 donc non ce n’est pas la MAJ Jeedom core ni un apt qui 1 causé ça.

Merci c’est ce que je tentais de mettre en oeuvre, mais ca passe pas :

sudo pip install --force-reinstall --upgrade charset-normalizer==2.1

/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.utils import int_from_bytes
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 Release process - pip documentation v24.1.dev0 pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement charset-normalizer==2.1 (from versions: 3.0.0rc1, 3.0.0, 3.0.1)
ERROR: No matching distribution found for charset-normalizer==2.1

Ton problème ressemble à ça.

Mais ça dépasse mes compétences. @Mips ?

Merci @Madcow : j’aurai du préciser… J’ai tenté une MaJ « profonde » via terminal pour Debian et via Jeedom>OS/Package parce que je n’arrivais plus à récupérer OpenZWAVE après install de Jeedom 4.3.12, et branchant/débranchant la clé, et testant le port, en redémarrant Jeedom, puis Debian, puis en désactivant/réactivant le plugin, et finalement en testant sur une autre box domo (HA) si c’était la clé qui était naze (elle l’est pas). J’ai toujours le même message (de mémoire) « j’ai relancé le daemon trois fois de suite sans succès… ». Ceci dit, tu as parfaitement raison, mon python 2 renacle à se mettre à jour.

Merci pour le lien @Madcow : j’ai essayé la solution finale, mais après un long verbose, pip en arrive à la même conclusion error.

# sudo pip2.7 install -Iv charset-normalizer==2.1
/usr/local/lib/python2.7/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.utils import int_from_bytes
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.
Using pip 20.3.4 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-Y9a3bD
Created temporary directory: /tmp/pip-req-tracker-n7_pVN
Initialized build tracking at /tmp/pip-req-tracker-n7_pVN
Created build tracker: /tmp/pip-req-tracker-n7_pVN
Entered build tracker: /tmp/pip-req-tracker-n7_pVN
Created temporary directory: /tmp/pip-install-NWkipn
1 location(s) to search for versions of charset-normalizer:
* https://pypi.org/simple/charset-normalizer/
Fetching project page and analyzing links: https://pypi.org/simple/charset-normalizer/
Getting page https://pypi.org/simple/charset-normalizer/
Found index url https://pypi.org/simple
Getting credentials from keyring for https://pypi.org/simple
Getting credentials from keyring for pypi.org
Looking up "https://pypi.org/simple/charset-normalizer/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/charset-normalizer/ HTTP/1.1" 304 0
  Link requires a different Python (2.7.16 not in: u'>=3.4.0'): https://files.pythonhosted.org/packages/7e/8d/faa8cc13b03896e65dcd0f67d56ef70f4ee9c14301f5ac4540c8aaaaf1aa/charset_normalizer-0.1a0.tar.gz#sha256=2e9474d6ea0730c9e6b691423823fcc0a012ab5281e4cf451d047ccca593e185 (from https://pypi.org/simple/charset-normalizer/) (requires-python:>=3.4.0)
  Link requires a different Python (2.7.16 not in: u'>=3.4.0'): https://files.pythonhosted.org/packages/bc/d2/19888cb9cd17d269aa3a95859a136f42d6755a691ad1b563caae709129c7/charset_normalizer-0.1.1a0.tar.gz#sha256=a230d9d0c39ea5f23325e69ef60c52b1a563f74c06673cb1ecdd7ce41089da03 (from https://pypi.org/simple/charset-normalizer/) (requires-python:>=3.4.0)
  Link requires a different Python (2.7.16 not in: u'>=3.6.0'): https://files.pythonhosted.org/packages/c1/74/a14be7cec44a9b04c4ee0e2be4486fad7a2a1ef09726a081af5528ec559d/charset_normalizer-0.1.2b0.tar.gz#sha256=2e57d67d55af976be3e5e11fb1dc5a4b02e5e10fed0e0746bbe9de76dc0aba9b (from https://pypi.org/simple/charset-normalizer/) (requires-python:>=3.6.0)
  Link requires a different Python (2.7.16 not in: u'>=3.4.0'): https://files.pythonhosted.org/packages/d2/bc/bb704adfbc4ea947ea20b3cba487108527ead6ba77c0acdfd7fa808a1df3/charset_normalizer-0.1.4b0.tar.gz#sha256=42dfc3e9ae1a9680394938e412a004f11ddfb9f544a064ac5a733f4d1307f308 (from https://pypi.org/simple/charset-normalizer/) (requires-python:>=3.4.0)
(tellement long que ca passe pas...)
  Skipping link: none of the wheel's tags match: cp39-cp39-musllinux_1_1_x86_64: https://files.pythonhosted.org/packages/f5/ec/a9bed59079bd0267d34ada58a4048c96a59b3621e7f586ea85840d41831d/charset_normalizer-3.0.1-cp39-cp39-musllinux_1_1_x86_64.whl#sha256=356541bf4381fa35856dafa6a965916e54bed415ad8a24ee6de6e37deccf2786 (from https://pypi.org/simple/charset-normalizer/)
  Skipping link: none of the wheel's tags match: cp39-cp39-win32: https://files.pythonhosted.org/packages/6e/a3/997ff79260f76210b1d73463b9081ae7edbf16ff3d611b67f5e72c685cab/charset_normalizer-3.0.1-cp39-cp39-win32.whl#sha256=39cf9ed17fe3b1bc81f33c9ceb6ce67683ee7526e65fde1447c772afc54a1bb8 (from https://pypi.org/simple/charset-normalizer/)
  Skipping link: none of the wheel's tags match: cp39-cp39-win_amd64: https://files.pythonhosted.org/packages/e7/0d/5eaceb5abfc000cca204af9f50e9839462dc0bb1c4e0f4b14ed370e3febd/charset_normalizer-3.0.1-cp39-cp39-win_amd64.whl#sha256=0a11e971ed097d24c534c037d298ad32c6ce81a45736d31e0ff0ad37ab437d59 (from https://pypi.org/simple/charset-normalizer/)
  Skipping link: none of the wheel's tags match: py3-none-any: https://files.pythonhosted.org/packages/68/2b/02e9d6a98ddb73fa238d559a9edcc30b247b8dc4ee848b6184c936e99dc0/charset_normalizer-3.0.1-py3-none-any.whl#sha256=7e189e2e1d3ed2f4aebabd2d5b0f931e883676e51c7624826e0a4e5fe8a0bf24 (from https://pypi.org/simple/charset-normalizer/)
Given no hashes to check 0 links for project 'charset-normalizer': discarding no candidates
ERROR: Could not find a version that satisfies the requirement charset-normalizer==2.1 (from versions: 3.0.0rc1, 3.0.0, 3.0.1)
ERROR: No matching distribution found for charset-normalizer==2.1
Exception information:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 223, in _main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
    return func(self, options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/install.py", line 321, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 180, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 385, in _resolve_one
    dist = self._get_dist_for(req_to_install)
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 336, in _get_dist_for
    self._populate_link(req)
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 302, in _populate_link
    req.link = self._find_requirement_link(req)
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 267, in _find_requirement_link
    best_candidate = self.finder.find_requirement(req, upgrade)
  File "/usr/local/lib/python2.7/dist-packages/pip/_internal/index/package_finder.py", line 929, in find_requirement
    req)
DistributionNotFound: No matching distribution found for charset-normalizer==2.1
Removed build tracker: '/tmp/pip-req-tracker-n7_pVN'

Voici le message pour la MaJ de pip3 : cela aide t il ?

+ echo '*******************Begin of package upgrade type pip3******************'
*******************Begin of package upgrade type pip3******************
+ sudo pip3 install --force-reinstall --upgrade entrypoints
Collecting entrypoints
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Installing collected packages: entrypoints
Attempting uninstall: entrypoints
Found existing installation: entrypoints 0.3
ERROR: Cannot uninstall 'entrypoints'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ sudo pip3 install --force-reinstall --upgrade python-debianbts
Collecting python-debianbts
Using cached python_debianbts-4.0.1-py3-none-any.whl (10 kB)
Collecting pysimplesoap>=1.16.2
Using cached PySimpleSOAP-1.16.2-py3-none-any.whl
Installing collected packages: pysimplesoap, python-debianbts
Attempting uninstall: pysimplesoap
Found existing installation: PySimpleSOAP 1.16.2
ERROR: Cannot uninstall 'PySimpleSOAP'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ sudo pip3 install --force-reinstall --upgrade pyxdg
Collecting pyxdg
Using cached pyxdg-0.28-py2.py3-none-any.whl (49 kB)
Installing collected packages: pyxdg
Attempting uninstall: pyxdg
Found existing installation: pyxdg 0.25
ERROR: Cannot uninstall 'pyxdg'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Installer plugin-zwavejs ? :grin: