Erreur installation dépendance Solarman

Bonjour,
J’ai une erreur à l’installation des dépendances du plugin Solarman. Voici les logs :

0047|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 1.3 MB/s eta 0:00:00
0048|Collecting future>=0.17.1 (from serial)
0049|Downloading future-0.18.3.tar.gz (840 kB)
0050|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 10.2 MB/s eta 0:00:00
0051|Preparing metadata (setup.py): started
0052|Preparing metadata (setup.py): finished with status ‹ done ›
0053|Collecting pyyaml>=3.13 (from serial)
0054|Using cached PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.1 kB)
0055|Collecting iso8601>=0.1.12 (from serial)
0056|Downloading iso8601-2.1.0-py3-none-any.whl.metadata (3.7 kB)
0057|Downloading iso8601-2.1.0-py3-none-any.whl (7.5 kB)
0058|Using cached PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (658 kB)
0059|Building wheels for collected packages: future
0060|Building wheel for future (setup.py): started
0061|Building wheel for future (setup.py): finished with status ‹ done ›
0062|Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492037 sha256=47644e1104b29d4ac7ed92b41777c8dff9cf6056e35060b723cd1207103074c5
0063|Stored in directory: /root/.cache/pip/wheels/fa/cd/1f/c6b7b50b564983bf3011e8fc75d06047ddc50c07f6e3660b00
0064|Successfully built future
0065|Installing collected packages: pyyaml, iso8601, future, serial
0066|Attempting uninstall: pyyaml
0067|Found existing installation: PyYAML 3.13
0068|ERROR: Cannot uninstall ‹ PyYAML ›. 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.
0069|+ echo 8
0070|+ sudo pip3 install --force-reinstall --upgrade umodbus
0071|Collecting umodbus
0072|Downloading uModbus-1.0.4-py2.py3-none-any.whl (31 kB)
0073|Collecting pyserial~=3.4 (from umodbus)
0074|Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
0075|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.1 MB/s eta 0:00:00

Je vois bien l’erreur Cannot uninstall ‹ PyYAML › mais je ne sais pas comment la résoudre.
Merci pour votre aide
Vincent

Problème résolution avec la commande SSH :
sudo -H pip3 install --ignore-installed PyYAML

j’allais te le proposer mais tu as trouvé tout seul :wink:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.