Impossible to install ansible-playbook

bonjour,
je ne peux pas installer les paquets ansible ,j’ai ce problème :

aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ pipx install --include-deps ansible

aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ 
aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ ping pypi.org -c 4
PING pypi.org (2a04:4e42::223) 56 data bytes
64 bytes from 2a04:4e42::223: icmp_seq=1 ttl=58 time=15.9 ms
64 bytes from 2a04:4e42::223: icmp_seq=2 ttl=58 time=14.3 ms
64 bytes from 2a04:4e42::223: icmp_seq=3 ttl=58 time=16.2 ms
^C
--- pypi.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 14.292/15.459/16.160/0.831 ms
aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ pipx install --include-deps ansible
Fatal error from pip prevented installation. Full pip output in file:
    /home/aragon/.local/state/pipx/log/cmd_2025-07-31_12.41.03_pip_errors.log

Some possibly relevant errors from pip install:
    ERROR: Could not find a version that satisfies the requirement ansible (from versions: none)
    ERROR: No matching distribution found for ansible

Error installing ansible.
aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ cat  /home/aragon/.local/state/pipx/log/cmd_2025-07-31_12.41.03_pip_errors.log
PIP STDOUT
----------

PIP STDERR
----------
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce nom'))': /simple/ansible/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce nom'))': /simple/ansible/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce nom'))': /simple/ansible/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce nom'))': /simple/ansible/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce nom'))': /simple/ansible/
ERROR: Could not find a version that satisfies the requirement ansible (from versions: none)
ERROR: No matching distribution found for ansible
aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$

et j’ai cette configuration :

aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble
aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$ uname -r
6.5.0-060500-generic
aragon@fdqfgsfdgdfs:~/Documents/AnalyticaTechCode/ansible$

pourquoi ? Pourriez vous m’aider ?
Cordialement

Any clues in the error log?

Note that the pipx that is shipped by Ubuntu 24.04 is 1.4.3:

And this is less that community.general version 11.x requires (1.7.x):

So you might want to start by installing the latest version of pipx:

3 Likes

bah non pusique ça marchait très bien avant