# python 'requests' module installed but ansible doesnt think it is

**URL:** <https://forum.ansible.com/t/python-requests-module-installed-but-ansible-doesnt-think-it-is/34692>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [February 26, 2021, 10:46pm UTC](https://forum.ansible.com/t/python-requests-module-installed-but-ansible-doesnt-think-it-is/34692 "2021-02-26T22:46:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_York](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Post date:** [February 26, 2021, 10:46pm UTC](https://forum.ansible.com/t/python-requests-module-installed-but-ansible-doesnt-think-it-is/34692/1 "2021-02-26T22:46:59Z")

</div>

Hi all -

Im trying to get community.vmware.plugins.inventory.vmware\_vm\_inventory working, but when I try to parse a yml inventory referencing the plugin I get the following error:

**[WARNING]: \* Failed to parse /home/user/hosts.vmware.yml with**  
**ansible\_collections.community.vmware.plugins.inventory.vmware\_vm\_inventory plugin: Please install “requests” Python module as this is required for VMware Guest dynamic inventory plugin.**

However, pip3 list shows requests is installed:

**$ pip3 list**  
**…**

**requests 2.25.1**

**…**

I’ve tried uninstalling / reinstalling, and I initially had everything installed via pip3 as --user but then uninstalled and reinstalled everything as root.

Any ideas? I’ve googled around but I feel like im missing something  
Thanks in advance if anyone can assist.

---

<div class="post-metadata">

**Author:** ![michael\_hill](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@michael\_hill](https://forum.ansible.com/u/michael_hill)\
**Post date:** [May 17, 2021, 4:24pm UTC](https://forum.ansible.com/t/python-requests-module-installed-but-ansible-doesnt-think-it-is/34692/2 "2021-05-17T16:24:05Z")

</div>

Any progress on this thread? I am having this exact same issue. I’m assuming maybe Ansible or the plugin are looking in the wrong place for the ‘request’ module, but I’m not sure where to look so I can point it in the right direction.
