Installing Python 3.8 standard package on RHEL 8

Cloudera Manager agents and Hue require Python 3.8. You must install Python 3.8.12 or higher on all cluster hosts before installing Cloudera Manager and adding services to your cluster. Follow the instructions in this topic to install the standard Python 3.8 packages in a standard location on RHEL 8.

Python 3 is distributed in versions 3.6, 3.8, and 3.9, provided by the python36, python38, and python39 modules on RHEL 8. CDP requires that you install Python version 3.8 on your cluster hosts.

  1. SSH into the host system as a root user.
  2. Install Python 3.8 by running the follwing command:
    yum install python3.8
  3. Verify the Python version as follows:
    python3.8 --version
Install the psycopg2-binary package
Install the psycopg2-binary package after installing Python 3.8 for using PostgreSQL as a backend database for Hue.