Installing dependencies for Hue
You must install the psycopg2 Python package for PostgreSQL-backed Hue and MySQL clients for MariaDB and MySQL databases depending on your operating systems.
If you are using Oracle as a backend database for Hue, then review Using Oracle database with Hue to ensure that Hue connects to your database.