Downloading and installing cx_Oracle

cx_Oracle Python extension module is not included in the CDP 7.1.8 distribution. You must download and install it manually after you have installed the Oracle Instant Client on all Hue server hosts.

  1. SSH into the Hue server host as a root user.
  2. Download the cx_Oracle Python extension module from https://pypi.org/project/cx-Oracle/.
  3. Install the cx_Oracle 8.3.0 Python extension module as follows:
    [***PATH-TO-PIP3***]/pip3 install cx_Oracle –force
    /usr/local/bin/pip3.8 install cx_Oracle --force
  4. Check the cx_Oracle version by running the following command:
    ./build/env/bin/pip3 list | grep cx-Oracle
  5. Restart the Hue service.