Installing Python 3.8 standard package on SLES 12 SP5, SLES 15 SP4

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

  1. SSH into the host system as a root user.
  2. Install Python 3.8 as follows:
    You can check the current availability of standard Python 3.8 package in the official SUSE repositories by running the following comand:
    zypper search python3.8
    If standard Python 3.8 package is available, then you can proceed to install it by running the following command:
    zypper install python3.8
    If standard Python 3.8 package is not available, then you must manually download, install, and build Python 3.8 from source to install Python at a standard or custom location. For more information, see Installing standard Python 3.8 binary on SLES 12 SP5 or SLES 15 SP4 at a standard or custom location.
  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.