Installing Python 3.8 on Oracle UEK 8.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 instructions in this topic to install the standard Python 3.8 binaries at a standard location on Oracle UEK 8.8.
dnf install epel-release
- SSH into the host system as a root user.
Install Python 3.8 by running the follwing command:
dnf install python38 python38-develYou can check the location at which Python 3.8 is installed by running the following commands:
whereis python3.8Sample output:
python3: /usr/bin/python3.8 /usr/bin/python3.8-config /usr/bin/python3.8-x86_64-config /usr/bin/python3 /usr/lib/python3.6 /usr/lib/python3.8 /usr/lib64/python3.6 /usr/lib64/python3.8 /usr/include/python3.6m /usr/include/python3.8 /usr/share/man/man1/python3.1.gz
echo $PATHSample output:
Verify the Python version as follows:
python3.8 --versionSample output:
- Install the psycopg2-binary package
- Install the
psycopg2-binarypackage after installing Python 3.8 for using PostgreSQL as a backend database for Hue.