# Problem with inventory scripts

**URL:** <https://forum.ansible.com/t/problem-with-inventory-scripts/30902>\
**Category:** AWX Project\
**Tags:** awx-project, awx\
**Created:** [July 30, 2019, 11:02am UTC](https://forum.ansible.com/t/problem-with-inventory-scripts/30902 "2019-07-30T11:02:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlanCoding](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alancoding/32/301_2.png) [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Post date:** [July 30, 2019, 11:02am UTC](https://forum.ansible.com/t/problem-with-inventory-scripts/30902/1 "2019-07-30T11:02:01Z")

</div>

Here is just one idea for debugging, given the weirdness you reported. Can you try activating the Ansible virtual environment?

source /var/lib/awx/venv/ansible/bin/activate

Then with that activated, try `ansible --version` again, maybe `pip show ansible`. The theory I’m testing (which may or may not be true) is that when Ansible gets installed in 2 locations they can wind up fighting. We generally rely on the assumption that Ansible is actually not installed on the venv (only the packages).

---

<div class="post-metadata">

**Author:** ![Alejandro\_Perretta](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@Alejandro\_Perretta](https://forum.ansible.com/u/Alejandro_Perretta)\
**Post date:** [July 30, 2019, 4:10pm UTC](https://forum.ansible.com/t/problem-with-inventory-scripts/30902/2 "2019-07-30T16:10:40Z")

</div>

Thanks the problem was ive installed the server with am los versión of awx.
