# Impossible to install ansible with pip3.12

**URL:** <https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687>\
**Category:** Get Help\
**Tags:** ansible-project, ubuntu, ansible-core\
**Created:** [July 2, 2025, 9:55am UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687 "2025-07-02T09:55:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![aragon5956](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aragon5956/32/8972_2.png) [@aragon5956](https://forum.ansible.com/u/aragon5956)\
**Post date:** [July 2, 2025, 9:55am UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/1 "2025-07-02T09:55:40Z")

</div>

[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

---

<div class="post-metadata">

**Author:** ![gundalow](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gundalow/32/99_2.png) [@gundalow](https://forum.ansible.com/u/gundalow)\
**Post date:** [July 2, 2025, 9:56am UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/2 "2025-07-02T09:56:41Z")

</div>

@aragon5956 Welcome to the Ansible Forum.

Can you please add `-vvv` into the pip command line

And paste the full output, thank you.

---

<div class="post-metadata">

**Author:** ![aragon5956](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aragon5956/32/8972_2.png) [@aragon5956](https://forum.ansible.com/u/aragon5956)\
**Post date:** [July 2, 2025, 11:25am UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/3 "2025-07-02T11:25:19Z")

</div>

yes of course !

```auto
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 :

```auto
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$ 

```

---

<div class="post-metadata">

**Author:** ![gotmax23](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gotmax23/32/106_2.png) [@gotmax23](https://forum.ansible.com/u/gotmax23)\
**Post date:** [July 2, 2025, 2:55pm UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/4 "2025-07-02T14:55:49Z")

</div>

[pipx](https://pipx.pypa.io/stable/) is a separate tool from [pip](https://pip.pypa.io/en/stable/). If you are using regular pip, you do not need the `--include-deps` flag.

---

<div class="post-metadata">

**Author:** ![aragon5956](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aragon5956/32/8972_2.png) [@aragon5956](https://forum.ansible.com/u/aragon5956)\
**Post date:** [July 3, 2025, 8:18am UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/5 "2025-07-03T08:18:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gundalow](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gundalow/32/99_2.png) [@gundalow](https://forum.ansible.com/u/gundalow)\
**Post date:** [July 3, 2025, 10:46am UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/6 "2025-07-03T10:46:18Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![a\_m](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/a_m/32/11175_2.png) [@a\_m](https://forum.ansible.com/u/a_m)\
**Post date:** [July 3, 2025, 12:57pm UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/7 "2025-07-03T12:57:14Z")

</div>

hello !!🙂  
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 !🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 2, 2025, 12:57pm UTC](https://forum.ansible.com/t/impossible-to-install-ansible-with-pip3-12/43687/8 "2025-08-02T12:57:51Z")

</div>

Closed on August 2, 2025, 12:57pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
