# trouble with pysphere

**URL:** <https://forum.ansible.com/t/trouble-with-pysphere/18065>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [April 23, 2015, 7:09pm UTC](https://forum.ansible.com/t/trouble-with-pysphere/18065 "2015-04-23T19:09:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Johnson](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bryan\_Johnson](https://forum.ansible.com/u/Bryan_Johnson)\
**Post date:** [April 23, 2015, 7:09pm UTC](https://forum.ansible.com/t/trouble-with-pysphere/18065/1 "2015-04-23T19:09:04Z")

</div>

Setting up my first ansible run using the vsphere\_guest mod. I’ve use ansible for some ad hock and it was really slick. So I decided to try and use with VMware.

found I needed pysphere installed. so I did that.

bryans-imac:~ johnson$ pip install -U pysphere  
Requirement already up-to-date: pysphere in /Library/Python/2.7/site-packages/pysphere-0.1.8-py2.7.egg  
bryans-imac:~ johnson$

should be fine now, or so I thought.

I am getting this error.

x.x.253.241 | FAILED \>\> {  
“failed”: true,  
“msg”: “pysphere module required”  
}

is there something more I need to do to make it work?

Thanks,  
Bryan

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 23, 2015, 7:12pm UTC](https://forum.ansible.com/t/trouble-with-pysphere/18065/2 "2015-04-23T19:12:49Z")

</div>

i would verify that the python that has pysphere and the one you use  
ansible are one and the same, this is normally the cause of this type  
of issue. Also note that pysphere needs to be installed on the machine  
that executes the plugin, so if you are not one of: hosts: localhost  
or connection: local, local\_action or delegate\_to: localhost, you  
might be trying to execute on the target machine and not on the  
'master'.

---

<div class="post-metadata">

**Author:** ![Bryan\_Johnson](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bryan\_Johnson](https://forum.ansible.com/u/Bryan_Johnson)\
**Post date:** [April 23, 2015, 7:46pm UTC](https://forum.ansible.com/t/trouble-with-pysphere/18065/3 "2015-04-23T19:46:46Z")

</div>

Thanks for the quick responce. I am running ansible from local computer, can you tell me how i can see if i am running the correct ansible from my workstation?
