Installing Python And Python Library (Linux Os) - HPE XP7 Automation Director User Manual

Hide thumbs Also See for XP7 Automation Director:
Table of Contents

Advertisement

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 1.11.0 (https://pypi.python.org/pypi/six/1.11.0)
– urllib3 1.22 (https://pypi.python.org/pypi/urllib3/1.22)
– certifi 2017.1.5 (https://pypi.python.org/pypi/certifi/2017.11.5)
– idna 2.6 (https://pypi.python.org/pypi/idna/2.6)
– chardet 3.0.4 (https://pypi.python.org/pypi/chardet/3.0.4)
– requests 2.18.4 (https://pypi.python.org/pypi/requests/2.18.4)
– pyvmomi 6.5.0.2017.5.post1 (https://pypi.python.org/pypi/pyvmomi/6.5.0.2017.5-1)
For each library, decompress the downloaded file and run following command: python
setup.py install .
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 Automation Director.

Installing Python and Python Library (Linux OS)

Procedure
1. Install Python 3.5 on the same server as Automation Director.
Download the gzipped source file from the following site: https://www.python.org/downloads/
source/.
Decompress the gzipped source file and run following commands:
164
Installing Python and Python Library (Linux OS)

Advertisement

Table of Contents
loading

Table of Contents