Installing CDP Private Cloud BasePDF version

Installing Python 3.8 on RHEL 7 or 8 for Cloudera Manager 7.7.3

You must install Python 3.8 on all cluster hosts before installing Cloudera Manager and adding services to your cluster.

You can either install the standard Python 3.8 package prepackaged with the RHEL 8 operating system or a custom Python 3.8 package in the default operating system location or in a custom location based on your organization's requirements. If you install Python 3.8 in a custom location, then you must point Cloudera Manager to that location either by creating a symbolic link or by adding an environment variable to the Cloudera Manager Agent systemd service definition file.

If you are using RHEL 8, Cloudera recommends that you uninstall Python 2.7, if it is present on your hosts. If you are using RHEL 7, do not uninstall Python 2.7.

Perform the following steps on all cluster hosts:
  1. SSH into the host system as a root user.
  2. Run the following command to install Python 3.8:
    yum install python3.8
  3. Verify the Python version as follows:
    python3.8 -–version
You have completed the Python installation. Skip the remaining steps on this page.