Unable to find PyVmomi installed with pip · Issue #44245 ...
github.com › ansible › ansibleAug 15, 2018 · I am reopening this for the folks with issues running Ansible in a virtualenv and then trying to use Pyvmomi. You need to edit your ansible.cfg and set the ansible_python_interpreter value to the absolute path of your python executable INSIDE of your virtualenv. It defaults to the /usr/bin/python value. And /usr/bin/python will NOT find your ...