Installing Python 3

Certain Cloudera services such as Cloudera Manager and Hue use Python 3.x. Installing Python 3.x is mandatory to deploy Cloudera Base on premises. Review the supported operating systems (OS) and use the corresponding instructions to install the recommended Python version.

Cloudera Manager 7.13.2 or higher versions does not work with Python 2.7. While using Cloudera Manager 7.13.2 or higher versions with Cloudera Runtime 7.3.1 or 7.1.9 version, you may remove all Python 2 versions from the operating system, only when the operating system allows you to remove the Python 2 version.

If you are running Cloudera Runtime 7.1.7 SP3 or below versions with Cloudera Manager 7.13.2, then Python 2.7 is still required for the Cloudera Runtime components. In this scenario, you must install both Python 2.7 (for Cloudera Runtime components) and Python 3.x (for Cloudera Manager 7.13.2).

Cloudera Manager 7.13.2 now supports only Python 3.11 version, when used in combination with Cloudera Runtime 7.3.2, 7.3.1.500 or higher versions, and 7.1.9 SP1 CHF11 or higher versions.

The tables in the following sections list the supported operating systems, the Python version that is distributed with those operating systems, and the Python 3.x versions required for deploying Cloudera:

Python support matrix

The following details are applicable only when using Cloudera Manager 7.13.2 with Cloudera Runtime 7.3.2
Operating system Python version distributed with the OS Python version required for deploying Cloudera Installation required?
RHEL 8.10 Python 3.6 Python 3.11 Yes
RHEL 8.8 Python 3.6 Python 3.11 Yes
RHEL 8.8 FIPS Python 3.6 Python 3.11 Yes
RHEL 9.6 Python 3.9 Python 3.11 Yes
RHEL 9.5 Python 3.9 Python 3.11 Yes
RHEL 9.4 Python 3.9 Python 3.11 Yes
RHEL 9.2 Python 3.9 Python 3.11 Yes
RHEL 9.1 Python 3.9 Python 3.11 Yes

Rocky Linux 9.6

Python 3.9 Python 3.11 Yes

Rocky Linux 9.4

Python 3.9 Python 3.11 Yes
SLES 15 SP5 Python 3.6 Python 3.11 Yes
SLES 15 SP6 Python 3.6 Python 3.11 Yes
Oracle 9.2 UEK Python 3.9 Python 3.11 Yes
Oracle 8.10 UEK Python 3.6 Python 3.11 Yes
Ubuntu 24.04 Python 3.12 Python 3.11 Yes
Ubuntu 22.04 Python 3.10 Python 3.11 Yes

Difference between standard and custom Python packages

The term standard Python package in Cloudera documentation refers to the Python package that is distributed with the OS, or an unmodified Python binary that is compiled from the source. If you have made modifications or customizations to the Python source code and then compiled the binaries into a package, then that is referred to as the custom Python package.