# Ansible vsphere\_guest: "pysphere module required" - but it's installed

**URL:** <https://forum.ansible.com/t/ansible-vsphere-guest-pysphere-module-required-but-its-installed/22918>\
**Category:** Ansible Project\
**Tags:** rhel, vmware\
**Created:** [October 28, 2016, 11:30pm UTC](https://forum.ansible.com/t/ansible-vsphere-guest-pysphere-module-required-but-its-installed/22918 "2016-10-28T23:30:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Richards](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jeff\_Richards](https://forum.ansible.com/u/Jeff_Richards)\
**Post date:** [October 28, 2016, 11:30pm UTC](https://forum.ansible.com/t/ansible-vsphere-guest-pysphere-module-required-but-its-installed/22918/1 "2016-10-28T23:30:36Z")

</div>

Hi,

I’m trying to kick off a VMware deployment, using the vsphere\_guest module, but it’s failing with “pysphere module required”.

So pip confirms it’s installed:

$ pip list | grep sphere  
pysphere (0.1.7)

And I can access the module:

$ python -c “import pysphere”  
$ echo $?  
0

I have vsphere\_guest working just fine on another Ansible host, against the exact same ESXi system. Both systems are running RHEL 7.2, Ansible 2.2 and neither have PYTHONPATH set.

The main difference as I see it is the box on which it’s failing is a VM within the ESXi platform itself. The box on which it’s successful is not. Have I stumbled across a fatal flaw here?

Jeff
