# Could not find imported module support code for community.vmware (AWX -13.0)

**URL:** <https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747>\
**Category:** Ansible Project\
**Tags:** vmware, awx, ee\
**Created:** [June 17, 2022, 7:26am UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747 "2022-06-17T07:26:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditya\_Chauhan](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Post date:** [June 17, 2022, 7:26am UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747/1 "2022-06-17T07:26:38Z")

</div>

We are using virtual environment in AWX 13 and its running with “python3.6” & Dev AWX execution environment is “[AWX EE 0.5.0](https://dev-awx.cbrands.com/#/execution_environments/5/details)”

We are receiving a failed message while executing job template in AWX (13.0) to connect VMware Vcenters, as per our initial observation this failed error message is receiving when unable to find module “community.vmware.vmware\_datacenter\_info”.

Error message - fatal: [localhost]: FAILED! =\> {“msg”: “Could not find imported module support code for version. Looked for either LooseVersion.py or version.py”}

We gone through the below Ansible documentation for “community.vmware.vmware\_datacenter\_info module – Gather information about VMware vSphere Datacenters” and requirements “python \>= 2.7 & PyVmomi” exist on Linux server.

[https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware\_datacenter\_info\_module.html](https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.ansible.com_ansible_latest_collections_community_vmware_vmware-5Fdatacenter-5Finfo-5Fmodule.html&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=FEKqxsNJFvO98suV4Ty8jqZssLNcYIdXVt_YJStTA6E&m=tcR4EtwBo4bOPEJIy3yRmSUaNhbAtYjXV0Fg0GiNppEF2qQefXmN_ifY-9-C1kXD&s=Iim0HGk2kWRax-3RL5za3nRgoVqJIQWbm0Fj8csNqqE&e=)

We don’t find any other VMware data center info module other than community module.

[https://docs.ansible.com/ansible/2.9/collections/community/vmware/vmware\_datacenter\_info\_module.html](https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.ansible.com_ansible_2.9_collections_community_vmware_vmware-5Fdatacenter-5Finfo-5Fmodule.html&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=FEKqxsNJFvO98suV4Ty8jqZssLNcYIdXVt_YJStTA6E&m=tcR4EtwBo4bOPEJIy3yRmSUaNhbAtYjXV0Fg0GiNppEF2qQefXmN_ifY-9-C1kXD&s=bqH9OEzsGj6kqubmrCMEK_bZuuElD8ICZy53rUtXjD8&e=)

Below collections are mentioned in requirements.yml file.

collections:

- community.general

- community.vmware

However the same job template is working fine in other AWX environment (19.0) on same server linux server.

Appreciate any help on this issue.

FYI - We posted same query in AWX project so they responded to reach out to collection maintainers of vmware modules ([AWX - Could not find imported module support code for community.vmware (AWX -13.0) (google.com)](https://groups.google.com/g/awx-project/c/FUYk2Z0uBN4))

---

<div class="post-metadata">

**Author:** ![Aditya\_Chauhan](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Post date:** [June 21, 2022, 5:01am UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747/2 "2022-06-21T05:01:44Z")

</div>

If anyone from collection maintainers of vmware modules can provide solution to this problem will be really helpful. Its on urgent basis.

---

<div class="post-metadata">

**Author:** ![Aditya\_Chauhan](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Post date:** [June 22, 2022, 1:50pm UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747/3 "2022-06-22T13:50:31Z")

</div>

Can any collection maintainer help me out with this. Able to run the playbook in DEV environment but not in PROD environment.

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [June 22, 2022, 4:17pm UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747/4 "2022-06-22T16:17:02Z")

</div>

Without knowing anything about the collection you mention, and assuming ‘DEV’ and ‘PROD’ are specific to your setup, the problem is not with any collection. If “it works” with ‘DEV’, then logic dictates that you should find the differences between ‘DEV’ and ‘PROD’ as the solution lies in there.

On a side note, counter to what is usually the goal, calling in ‘urgency’ usually decrease the likelihood of a getting response.

---

<div class="post-metadata">

**Author:** ![Aditya\_Chauhan](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Post date:** [June 30, 2022, 5:25am UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36747/5 "2022-06-30T05:25:53Z")

</div>

Thank you for your response. Earlier we had posted same query to AWX group, where it was suggested to reach out to collection maintainers of vmware modules. Below is the link for that-  
[AWX - Could not find imported module support code for community.vmware (AWX -13.0) (google.com)](https://groups.google.com/g/awx-project/c/FUYk2Z0uBN4)

We are trying to resolve this.
