# Running Playbook in the custom venv

**URL:** <https://forum.ansible.com/t/running-playbook-in-the-custom-venv/31451>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 10, 2019, 8:35pm UTC](https://forum.ansible.com/t/running-playbook-in-the-custom-venv/31451 "2019-10-10T20:35:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinivasa\_Jasti](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Srinivasa\_Jasti](https://forum.ansible.com/u/Srinivasa_Jasti)\
**Post date:** [October 10, 2019, 8:35pm UTC](https://forum.ansible.com/t/running-playbook-in-the-custom-venv/31451/1 "2019-10-10T20:35:37Z")

</div>

Hi AWX Group,  
I am working on executing a playbook using custom python venv. The location for the venv has been exposed to the AWX.  
I am getting error when launching the template. Can you please help me?

 ![2019-10-09_15-31-00.png](https://us1.discourse-cdn.com/ansible/original/2X/d/d8a89b308dcdd6e5f020bfd94a91df1534e0a9ef.png)

Thank you,  
Srin

> **(attachments)**
>
> ![2019-10-09_15-31-00.png](https://us1.discourse-cdn.com/ansible/original/2X/d/d8a89b308dcdd6e5f020bfd94a91df1534e0a9ef.png)

---

<div class="post-metadata">

**Author:** ![iamlightsocialxen](https://avatars.discourse-cdn.com/v4/letter/i/ee59a6/32.png) [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Post date:** [October 16, 2019, 3:05am UTC](https://forum.ansible.com/t/running-playbook-in-the-custom-venv/31451/2 "2019-10-16T03:05:11Z")

</div>

without knowing much and with the screenshot log , it suggests it is file missing problem.  
your code is expecting some python script which is not availble in the awx container.

---

<div class="post-metadata">

**Author:** ![Ankit2](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Post date:** [October 16, 2019, 6:04am UTC](https://forum.ansible.com/t/running-playbook-in-the-custom-venv/31451/3 "2019-10-16T06:04:01Z")

</div>

Looks like you are executing job locally in AWX container. This error maybe because of bubblewarp functionality. Have you tried executing your job on another server? I faced the similar issue and had to end up executing my script from machine where awx containers were deployed.

> **(attachments)**
>
> ![2019-10-09_15-31-00.png](https://us1.discourse-cdn.com/ansible/original/2X/d/d8a89b308dcdd6e5f020bfd94a91df1534e0a9ef.png)
