I had some problems with the newest versions, so here is how to install the old one.
– Download & install Python 2.7.8 for Windows (https://www.python.org/downloads/release/python-278/)
– During installation add python.exe to path
– install pip
– then in cmd -> pip install pyvmomi
To avoid SSL problems (see below) and to have working community samples I prefer the older pyvmomi version:
C:\Users\dax>c:\Python27\Scripts\pip.exe install pyvmomi==220.127.116.114.1.1
Download and unzip the Community Samples: