I figured it out, i needed to install requests and upgrade pyvomi On Thursday, June 27, 2019 at 12:26:35 PM UTC-4, MJP wrote: > > Hello, > > I have a playbook that connects to vcenter and enables me to create VM's > using a playbook. I just upgraded Ansible to 2.8 from 2.5 yesterday and > now when i run this specific playbook, i get the following error: > > " "msg": "Failed to import the required Python library (requests)... > Python /usr/local/opt/python@2/bin/python2.7. Please read module > documentation and install in the appropriate location" > > When I run the playbook with -vvv i see the error: > > The full traceback is: > Traceback (most recent call last): > File > "/var/folders/nw/63rr63_d6fd8tn80q8thq08wqhrg30/T/ansible_vmware_guest_payload_pAa0vY/ansible_vmware_guest_payload.zip/ansible/module_utils/vmware.py", > > line 24, in <module> > import requests > ImportError: No module named requests > > I'm not quite sure what these errors mean and how to resolve it. Nothing > changed over the last 24 hours with python so i'm not sure what to do. > > Any help would be appreciated > > Thanks >
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b092f0e8-ca03-4ad5-8e14-9188a792aa3d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
