# Where is ansible when installing via pip?

**URL:** <https://forum.ansible.com/t/where-is-ansible-when-installing-via-pip/24623>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [June 1, 2017, 5:49pm UTC](https://forum.ansible.com/t/where-is-ansible-when-installing-via-pip/24623 "2017-06-01T17:49:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tadas\_Talaikis](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@Tadas\_Talaikis](https://forum.ansible.com/u/Tadas_Talaikis)\
**Post date:** [June 1, 2017, 5:49pm UTC](https://forum.ansible.com/t/where-is-ansible-when-installing-via-pip/24623/1 "2017-06-01T17:49:18Z")

</div>

Documentation states I can install ansible via pip, but after installing, doesn’t seem it’s available via command line:

bash: /usr/bin/ansible: No such file or directory

which ansible  
…

Ansible v. 2.4.0, Ubuntu 16.10, Python 3.6

---

<div class="post-metadata">

**Author:** ![Matt\_Davis](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Post date:** [June 1, 2017, 6:05pm UTC](https://forum.ansible.com/t/where-is-ansible-when-installing-via-pip/24623/2 "2017-06-01T18:05:24Z")

</div>

Assuming you’re using the OS packaged version of pip from apt (python-pip). Ubuntu at some point changed their pip to install to ~/.local/bin, which should be added to your PATH by the Ubuntu default ~/.profile. If you’ve removed that or in some other way aren’t using it, make sure to add ~/.local/bin to your PATH and it should start working.
