Installing Python 3.9 standard package on RHEL 9
Cloudera Manager agents and Hue require Python 3.9 on RHEL 9. You must install Python 3.9.14 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.9 packages in a standard location on RHEL 9.1.
Python 3.9 is the default Python implementation provided by RHEL 9 and is usually installed by default. Perform this task to install or re-install it manually.
- SSH into the host system as a root user.
Install Python 3.9 by running one of the following commands:
dnf install python3
yum install python3
Verify the Python version as follows:
- Install the psycopg2-binary package
- Install the
psycopg2-binarypackage after installing Python 3.8 for using PostgreSQL as a backend database for Hue.