# AWX - Unable to use my AWX-EE Custom

**URL:** <https://forum.ansible.com/t/awx-unable-to-use-my-awx-ee-custom/36345>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [February 18, 2022, 3:14pm UTC](https://forum.ansible.com/t/awx-unable-to-use-my-awx-ee-custom/36345 "2022-02-18T15:14:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timothee\_benedet](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@timothee\_benedet](https://forum.ansible.com/u/timothee_benedet)\
**Post date:** [February 18, 2022, 3:14pm UTC](https://forum.ansible.com/t/awx-unable-to-use-my-awx-ee-custom/36345/1 "2022-02-18T15:14:25Z")

</div>

Hi guys,

I’m a beginner with ansible and I try to deploy a classic virtual machine debian with an ansible playbook from AWX to my ESXI standalone on my Raspberry 4.

But when I run the template, I’ve this error :

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named ‘pyVim’ fatal: [ESXI]: FAILED! =\> {“ansible\_facts”: {“discovered\_interpreter\_python”: “/usr/libexec/platform-python”}, “changed”: false, “msg”: “Failed to import the required Python library (PyVmomi) on automation-job-144-hcsd8’s Python /usr/libexec/platform-python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible\_python\_interpreter”}

So I decide to create my own awx-ee by following this tutorial : [https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/](https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/)

And by adding **pyVmomi** and **pyVim** in my requirements.txt then I build and push to my quay repository. I change my execution environment for my project and my template but now I’ve this error :

Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 552, in run res = receptor\_job.run() File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py”, line 279, in run res = self.\_run\_internal(receptor\_ctl) File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py”, line 309, in \_run\_internal result = receptor\_ctl.submit\_work(worktype=self.work\_type, payload=sockout.makefile(‘rb’), params=self.receptor\_params, signwork=self.sign\_work, \*\*\_kw) File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py”, line 423, in receptor\_params spec\_yaml = yaml.dump(self.pod\_definition, explicit\_start=True) File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py”, line 471, in pod\_definition default\_pod\_spec = get\_default\_pod\_spec() File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/execution\_environments.py”, line 27, in get\_default\_pod\_spec raise RuntimeError(“Unable to find an execution environment.”) RuntimeError: Unable to find an execution environment.

There is someone to help me ?

Thanks a lot !
