- Try to install 'pyvmomi' module
$ mkdir pyvmomi
$ cd pyvmomi
$ pip download pyvmomi
- Now the related modules of 'pyvmomi' are downloaded in the folder.
- Copy the folder 'pyvmomi' to offline host.
$ cd pyvmomi
$ pip install pyvmomi --no-index --find-links .
- Now you've installed the module.
- If there are still lacks of some modules, go back to online host and execute 'pip download' for those modules repeatedly.