Impossible to install ansible with pip3.12

[ENG]hello,
it’s impossible to install ansible with the option : --include-deps . when i type : pipx install --include-deps ansible
the options doesn’t wotk . I note this
Regards
[FRA]
bonjour,
il est impossible d’installer ansible avec l’option : --include-deps . quand je tape : `pipx install --include-deps ansible
les options ne fonctionnent pas. Je note cela
Cordialement

@aragon5956 Welcome to the Ansible Forum.

Can you please add -vvv into the pip command line

And paste the full output, thank you.

yes of course !

xxxx-alexandre@xxxx-alexandre:~/Documents/AnalyticaTechCode/ansible$ pip3.12 install --include-deps ansible -vvv

Usage:   
  pip3.12 install [options] <requirement specifier> [package-index-options] ...
  pip3.12 install [options] -r <requirements file> [package-index-options] ...
  pip3.12 install [options] [-e] <vcs project url> ...
  pip3.12 install [options] [-e] <local project path> ...
  pip3.12 install [options] <archive url/path> ...

no such option: --include-deps
xxxx-alexandre@xxxx-alexandre:~/Documents/AnalyticaTechCode/ansible$

or, in virtual environnement :

xxxx-alexandre@xxxx-alexandre:~/Documents/AnalyticaTechCode/ansible$ source ./env/bin/activate
(env) xxxx-alexandre@xxxx-alexandre:~/Documents/AnalyticaTechCode/ansible$ pip3.12 install --include-deps ansible -vvv

Usage:   
  pip3.12 install [options] <requirement specifier> [package-index-options] ...
  pip3.12 install [options] -r <requirements file> [package-index-options] ...
  pip3.12 install [options] [-e] <vcs project url> ...
  pip3.12 install [options] [-e] <local project path> ...
  pip3.12 install [options] <archive url/path> ...

no such option: --include-deps
(env) xxxx-alexandre@xxxx-alexandre:~/Documents/AnalyticaTechCode/ansible$ 

pipx is a separate tool from pip. If you are using regular pip, you do not need the --include-deps flag.

1 Like

aaaah ok thanks you very much .I don’t knowwhat pipx is ! I will look at this
Regards

@aragon5956 Glad you got it working, and thanks for marking @gotmax23 reply as solved.

I’m wondering how we can avoid this confusion in the future. How can we improve the documentation?

hello !!:slight_smile:
just precise that pipx is independant from pip3.y ou pip2.y or any pip version. But maybe the user can know what is it before !
insert the precision if you want it.
Regards !:slight_smile: