avec ton aide, j'ai fouiller un peu plus et j'ai trouvé qu'effectivement la version installée du module est la 3.0.1 et non pas la 2.0.11 !
Après de très nombreuses recherches, j'ai enfin réussi à enlever la version 3.0.1 par la commande suivante :
sudo apt remove python3-charset-normalizer
nouveau problème, je suis incapable d'installer la version 2.0.11 de charset-normalizer !
Quand je fais la commande sudo pip3 install -r requirements.txt j'ai une nouvelle erreur qui est :
"acndomo@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ sudo pip3 install -r requirements.txt
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit
http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification."
J'avoue être perdu. Quand je fais normalizer --version j'ai désormais ceci
"-bash: normalizer: command not found"
ce qui prouve que c'est bien désinstallé mais je n'ai plus rien désormais ..
Je ne vois pas d'autre solution