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 ...
Ansible - pip not found - Stack Overflow
stackoverflow.com › questions › 51997637Aug 24, 2018 · Meaning pip is installed at path x (may be /usr/local/bin/pip ), however, cached at path y (may be /usr/bin/pip). You can confirm that from - ansible default -m shell -a ‘type pip’. To resolve this you’ll need to run - ansible default -m shell -a ‘hash -r’. BTW, you can also use command module instead of shell. Share.