Dépendances qui essaye de s’installer en boucle

Hello,

J’ai les dépendances pour Google Cast qui essaye de s’installer en boucle mais rate à chaque fois.
J’ai vu des problèmes similaire dans le passé mais lié a une vielle version de l’OS, ma Smart est en Buster et il me semble que c’est la dernière version possible pour le moment.

Voici les logs:

Launch install of googlecast dependancies
-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://www.deb-multimedia.org buster InRelease
Hit:4 http://ftp.uk.debian.org/debian buster InRelease
Hit:5 http://ftp.uk.debian.org/debian buster-updates InRelease
Hit:6 https://oph.mdrjr.net/meveric all InRelease
Hit:7 https://oph.mdrjr.net/meveric buster InRelease
Err:2 https://repo.jeedom.com/odroid stable InRelease
502  Bad Gateway [IP: 51.210.253.116 443]
Reading package lists...
W: Failed to fetch http://repo.jeedom.com/odroid/dists/stable/InRelease  502  Bad Gateway [IP: 51.210.253.116 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
-- Installation of python3 and dependancies
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
python-dev is already the newest version (2.7.16-1).
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.
-- Installed version of Python :
Python 3.7.3
Your version of python is compatible with this plugin.
-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3-dev is already the newest version (3.7.3-1).
python-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.
-- Installation of audio sox library
Reading package lists...
Building dependency tree...
Reading state information...
sox is already the newest version (14.4.2+git20190427-1).
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.
-- Installation of TTS libraries
Reading package lists...
Building dependency tree...
Reading state information...
libttspico-utils is already the newest version (1.0+git20130326-9).
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.
-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
ffmpeg is already the newest version (7:4.1.8-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.
-- Upgrade setuptools with command pip3 if not up to date
Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.7/dist-packages (60.10.0)
-- Installed version of pip :
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
-- Installation of python library 'requests' with command pip3
Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.7/dist-packages (2.27.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (1.26.9)
Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0; python_version >= "3" in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2.0.12)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2021.10.8)
-- Installation of python library 'protobuf' with command pip3
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.7/dist-packages (3.19.4)
-- Installation of python library 'zeroconf' with command pip3
Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.7/dist-packages (0.38.4)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (0.1.7)
-- Installation of python library 'click, bs4 and six' for TTS with command pip3
Failed building wheel for bs4
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (8.0.4)
Collecting bs4
Using cached https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (1.16.0)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from click) (4.11.3)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from bs4) (4.10.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < "3.8"->click) (3.7.0)
Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < "3.8"->click) (4.1.1)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->bs4) (2.3.1)
Building wheels for collected packages: bs4
Running setup.py bdist_wheel for bs4: started
Running setup.py bdist_wheel for bs4: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fb2afdtw/bs4/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-djgktmm8 --python-tag cp37:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Running setup.py clean for bs4
Failed to build bs4
Installing collected packages: bs4
Running setup.py install for bs4: started
Running setup.py install for bs4: finished with status 'done'
Successfully installed bs4
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3
Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (4.63.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (1.3.1)
Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from casttube) (2.27.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2021.10.8)
Requirement already satisfied: charset-normalizer~=2.0.0; python_version >= "3" in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (1.26.9)
Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (3.3)
-- Installation of dependencies is done !

Quelqu’un aurait une idée quand à la résolution possible ?

Merci d’avance.

Bonjour,

Le problème a déjà été posé et solutioné plusieurs fois.
Avez-vous essayé les solutions proposées ou n’avez-vous pas cherché ? (Il suffit de chercher sur l’erreur que vous avez dans le log)

La solution proposée était d’installer wheel (syntaxe de mémoire sur téléphone, il se peut que j’ai fait une erreur):

sudo python3 -m pip install wheel

Ensuite relancez les dépendances

1 « J'aime »