ERROR: Cannot uninstall idna 3.3, RECORD file not found

Bonjour,
Impossible de lancer les dépendances.
Elles se bloquent à 7%. => démon ne démarre pas.
Merci


Plugin 1NOK c’est Santé worxLandroidS (2erreurs)

Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
Traceback (most recent call last):
File "/var/www/html/plugins/worxLandroidS/resources/worxLandroidSd.py", line 9, in 
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_worxLandroidS
+ echo 1
+ echo 2
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ cut -f 2-
++ awk '$1 <= 4'
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
Files removed: 56
+ echo 4
+ sudo pip3 install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.1.2)
WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.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
+ echo 5
+ sudo pip3 install --force-reinstall --upgrade requests
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting requests
Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 2.2 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.1.0-py3-none-any.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.2/46.2 kB 1.3 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests)
Downloading https://www.piwheels.org/simple/idna/idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.9 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.0.3-py3-none-any.whl (123 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 2.9 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests)
Downloading https://www.piwheels.org/simple/certifi/certifi-2023.5.7-py3-none-any.whl (156 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.9/156.9 kB 3.2 MB/s eta 0:00:00
WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Attempting uninstall: urllib3
Found existing installation: urllib3 2.0.3
Uninstalling urllib3-2.0.3:
Successfully uninstalled urllib3-2.0.3
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'.
+ echo 6
+ sudo pip3 install --force-reinstall --upgrade aiohttp
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting aiohttp
Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.4-cp37-cp37m-linux_armv7l.whl (486 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 486.6/486.6 kB 4.2 MB/s eta 0:00:00
Collecting attrs>=17.3.0 (from aiohttp)
Downloading https://www.piwheels.org/simple/attrs/attrs-23.1.0-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 1.6 MB/s eta 0:00:00
Collecting charset-normalizer<4.0,>=2.0 (from aiohttp)
Using cached charset_normalizer-3.1.0-py3-none-any.whl (46 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp)
Downloading https://www.piwheels.org/simple/multidict/multidict-6.0.4-cp37-cp37m-linux_armv7l.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.9/53.9 kB 1.6 MB/s eta 0:00:00
Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp)
Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp)
Downloading https://www.piwheels.org/simple/yarl/yarl-1.9.2-cp37-cp37m-linux_armv7l.whl (99 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.3/99.3 kB 2.5 MB/s eta 0:00:00
Collecting frozenlist>=1.1.1 (from aiohttp)
Downloading https://www.piwheels.org/simple/frozenlist/frozenlist-1.3.3-cp37-cp37m-linux_armv7l.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 kB 2.1 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2 (from aiohttp)
Downloading https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting asynctest==0.13.0 (from aiohttp)
Downloading https://www.piwheels.org/simple/asynctest/asynctest-0.13.0-py3-none-any.whl (26 kB)
Collecting typing-extensions>=3.7.4 (from aiohttp)
Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Collecting importlib-metadata (from attrs>=17.3.0->aiohttp)
Downloading https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp)
Using cached https://www.piwheels.org/simple/idna/idna-3.4-py3-none-any.whl (61 kB)
Collecting zipp>=0.5 (from importlib-metadata->attrs>=17.3.0->aiohttp)
Downloading https://www.piwheels.org/simple/zipp/zipp-3.15.0-py3-none-any.whl (6.8 kB)
WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
Installing collected packages: zipp, typing-extensions, multidict, idna, frozenlist, charset-normalizer, asynctest, yarl, importlib-metadata, async-timeout, aiosignal, attrs, aiohttp
Attempting uninstall: zipp
Found existing installation: zipp 3.15.0
Uninstalling zipp-3.15.0:
Successfully uninstalled zipp-3.15.0
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.6.3
Uninstalling typing_extensions-4.6.3:
Successfully uninstalled typing_extensions-4.6.3
Attempting uninstall: multidict
Found existing installation: multidict 6.0.4
Uninstalling multidict-6.0.4:
Successfully uninstalled multidict-6.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'.
+ echo 7
+ sudo pip3 install --force-reinstall --upgrade urllib3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting urllib3
Using cached https://www.piwheels.org/simple/urllib3/urllib3-2.0.3-py3-none-any.whl (123 kB)
WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
Installing collected packages: urllib3
Attempting uninstall: urllib3
Found existing installation: urllib3 2.0.3
Uninstalling urllib3-2.0.3:
Successfully uninstalled urllib3-2.0.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
requests 2.27.1 requires idna<4,>=2.5; python_version >= "3", which is not installed.
botocore 1.29.157 requires urllib3<1.27,>=1.25.4, but you have urllib3 2.0.3 which is incompatible.
requests 2.27.1 requires urllib3<1.27,>=1.21.1, but you have urllib3 2.0.3 which is incompatible.
selenium 4.7.2 requires urllib3[socks]~=1.26, but you have urllib3 2.0.3 which is incompatible.
Successfully installed urllib3-2.0.3
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
+ echo 8
+ sudo pip3 install --force-reinstall --upgrade paho-mqtt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting paho-mqtt
Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 1.8 MB/s eta 0:00:00
WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
Installing collected packages: paho-mqtt
Attempting uninstall: paho-mqtt
Found existing installation: paho-mqtt 1.6.1
Uninstalling paho-mqtt-1.6.1:
Successfully uninstalled paho-mqtt-1.6.1
Successfully installed paho-mqtt-1.6.1
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
+ echo 9
+ sudo pip3 install --force-reinstall --upgrade backports.zoneinfo
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting backports.zoneinfo
Downloading https://www.piwheels.org/simple/backports-zoneinfo/backports.zoneinfo-0.2.1-cp37-cp37m-linux_armv7l.whl (76 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.7/76.7 kB 2.3 MB/s eta 0:00:00
WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
Installing collected packages: backports.zoneinfo
Attempting uninstall: backports.zoneinfo
Found existing installation: backports.zoneinfo 0.2.1
Uninstalling backports.zoneinfo-0.2.1:
Successfully uninstalled backports.zoneinfo-0.2.1
Successfully installed backports.zoneinfo-0.2.1
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
+ echo 10
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end worxLandroidS
+ rm /tmp/jeedom_install_in_progress_worxLandroidS
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Bonjour,

Il y a un module en erreur sur votre système, il faut régler ca:

essayez de faire ce qui est proposé:

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'.

donc

sudo pip3 install --force-reinstall --no-deps idna==3.3

Bonjour,
Ci-joint le message lorsque je lance « sudo pip3 install --force-reinstall --no-deps idna==3.3 »

sudo pip3 install --force-reinstall --no-deps idna==3.3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting idna==3.3
  Downloading https://www.piwheels.org/simple/idna/idna-3.3-py3-none-any.whl (64          kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 2.4 MB/s eta 0:00:00
Installing collected packages: idna
  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 re         cover from this via: 'pip install --force-reinstall --no-deps idna==3.3'.

Franchement les problèmes sur metadata j’ai déjà vu ca une fois et c’est chiant à résoudre… et ca n’a aucun rapport avec le plugin: il y a eu des installations corrompues sur votre système, j’ignore ce qu’il s’est passé.
Il n’existe pas à ma connaissance « une méthode » magique pour les résoudre; vous pouvez essayer de supprimer tout ce que vous trouvez en rapport avec cette lib dans /usr/local/lib/python3.7/dist-packages mais ca me parait hasardeux.

Le mieux que j’ai à proposer c’est de tout effacer, réinstaller le système et jeedom (il y a des images pré-installée ici https://doc.jeedom.com/fr_FR/installation/rpi) et de restaurer un backup jeedom ensuite, au moins vous serez certain que tout est correctement installés

Bonjour,
Avec tout ce qui est raccordé sur mon Jeedom, je vais pas le réinstaller.
Sachant que j’ai aucun problème (Sauf l’installation de ce plugin).
merci