# AWX ans vmware SDK

**URL:** <https://forum.ansible.com/t/awx-ans-vmware-sdk/34065>\
**Category:** AWX Project\
**Tags:** vmware, awx\
**Created:** [October 20, 2020, 4:52pm UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065 "2020-10-20T16:52:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Coussens](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/stefan_coussens/32/8432_2.png) [@Stefan\_Coussens](https://forum.ansible.com/u/Stefan_Coussens)\
**Post date:** [October 20, 2020, 4:52pm UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065/1 "2020-10-20T16:52:53Z")

</div>

Hi,

I want to use the community.vmware.vmware\_tag ( [https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware\_tag\_module.html](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_tag_module.html)) module but when I user it with AWX it throws the following error.

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named ‘com’  
fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Failed to import the required Python library (vSphere Automation SDK) on awx’s Python /usr/libexec/platform-python. See [https://code.vmware.com/web/sdk/7.0/vsphere-automation-python](https://code.vmware.com/web/sdk/7.0/vsphere-automation-python) for more info. Please read module documentation and install 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”}

I think this is because AWX does not have the vSphere Automation SDK module that is a requirement. (is this a bug?)

I know how to add role and collection requirements but how do you add pip requirements to so that AWX can download the requirements. I can always hack the docker container but what is the right way to do this?

Thank you,

---

<div class="post-metadata">

**Author:** ![Nico\_Wunder1](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@Nico\_Wunder1](https://forum.ansible.com/u/Nico_Wunder1)\
**Post date:** [October 22, 2020, 5:35am UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065/2 "2020-10-22T05:35:15Z")

</div>

Hey Stefan,

we currently do another ‘hack’. Check first with pip Module via Deligate\_To.  
On Tower with old-school Hosts it is way more easy to manage custom-venvs - wondering how others set this up.

But I don’t think it is a bug, since most requirements don’t ship with awx. 🙂

Kind Regards,  
Nico

---

<div class="post-metadata">

**Author:** ![Mattia\_Maragno](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mattia\_Maragno](https://forum.ansible.com/u/Mattia_Maragno)\
**Post date:** [March 6, 2022, 7:56pm UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065/3 "2022-03-06T19:56:39Z")

</div>

Hello,i have same problem, how did you solve the problem?

Thanks  
Mattia

---

<div class="post-metadata">

**Author:** ![Seth\_Foster](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@Seth\_Foster](https://forum.ansible.com/u/Seth_Foster)\
**Post date:** [March 9, 2022, 8:41pm UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065/4 "2022-03-09T20:41:00Z")

</div>

Hi Mattia,

Can you please provide more information about your setup, like the AWX version you are running. What specific error are you getting?

Thanks,

Seth

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [March 9, 2022, 8:43pm UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065/5 "2022-03-09T20:43:02Z")

</div>

Also. Have you got the vmware python module in your execution environment or venv?
