To use the PyLXCA commands and APIs, you must install the Lenovo XClarity Administrator Python Client Toolkit (PyLXCA) in Python.
Before you begin
Wheel is required to install the latest version
of the PyLXCA toolkit. You can download Wheel from the Python Wheels webpage, and install Wheels using the following
command: pip install wheel
pip install requests –upgrade
)pip install logging –upgrade
)Procedure
pip install pylxca
python setup.py install
After you finish
For information about using the PyLXCA commands, see Using the Python (PyLXCA) toolkit.
$ python Python 2.7.10 (default, Sep 16 2015, 14:46:04) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pylxca >>> print pylxca.__version__ 1.0