Installing Python

The HCL Docs deployment requires a Python 2.7.3 or later runtime environment. For non-Windows installations, ensure that Python is installed on the IBM® Connections Deployment Manager and on all Linux servers hosting an File Viewer, HCL Docs, or HCL Docs proxy node.

To check the current version of Python that is installed, use the following command:

python -v

If this command returns an error that Python was not found or that it is an unsupported version, you need to install or upgrade Python to version 2.7.3 or later.

If your Linux distribution does not provide a version meeting the minimum requirements, see the Python official download site for obtaining Python builds. For example, for Python 2.7.5, see http://www.python.org/download/releases/2.7.5
Note: Python 3 is not supported. If you have python 3, when you run applyPatch, you will get an error about syntax issue missing paren.
Installing on Linux
  1. Log in as root.
  2. Open a terminal window and execute the following command:

    yum install –y python-2.7*

    Note: To verify whether Python has been successfully installed, run the following command: .
    • which python
    • whereis python
    • python -V

Installing on Windows

  1. Download the Python 2.7.5 package from https://www.python.org/ftp/python/2.7.5/python-2.7.5.msi.
  2. Launch the Python installation package, and then follow the steps to install Python.
Note: When a windows node is selected to deploy HCL Docs, the python execution path must be set into the system path, which makes sure that python can be run through cmd directly.