- Install Python 3.x on the same server as Ops Center Automator.
- Download the Python installer from following site: https://www.python.org/downloads/windows/.
- Go to the download location and run the installation.
The Install Python wizard opens.
- Select both options: Install launcher for all users and Add Python 3.x to PATH.
- Click Install Now.
You should not customize your installation, but if you do, you must ensure that you select the option to install pip from the Optional Features. The pip component is required to install the Python libraries.
-
Install
pyvmomi, which is the Python library that enables
Ops Center Automator to communicate with vCenter.
- For an online environment, follow these steps:
- From the command line, run the following command to download the library and install it into the Python environment: pip install pyvmomi .
- Verify that the library is installed correctly by using the following command: pip list pyvmomi .
- For more information go to https://github.com/vmware/pyvmomi.
- For an offline environment, follow these steps:
- Download the following seven libraries in an online environment:
- six (https://pypi.org/project/six/)
- urllib3 (https://pypi.org/project/urllib3/)
- certifi (https://pypi.org/project/certifi/)
- idna (https://pypi.org/project/idna/)
- charset-normalizer (https://pypi.org/project/charset-normalizer/)
- requests (https://pypi.org/project/requests/)
- pyvmomi (https://pypi.org/project/pyvmomi/)
- For each library, decompress the downloaded file and run following command: python setup.py install .
- Download the following seven libraries in an online environment:
For more detailed information about installing the Python library, go to https://github.com/vmware/pyvmomi. - For an online environment, follow these steps:
Python and the Python Library are now installed on
Ops Center Automator.