Installing Python and Python Library (Windows OS)

Ops Center Automator User Guide

Version
10.8.x
File Size
3.6 MB
Audience
anonymous
Part Number
MK-99AUT001-14
  1. Install Python 3.x on the same server as Ops Center Automator.
    1. Download the Python installer from following site: https://www.python.org/downloads/windows/.
    2. Go to the download location and run the installation.
      The Install Python wizard opens.
    3. Select both options: Install launcher for all users and Add Python 3.x to PATH.
    4. 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.
  2. 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 more detailed information about installing the Python library, go to https://github.com/vmware/pyvmomi.
Python and the Python Library are now installed on Ops Center Automator.