Installation and setup of oracle-adw package

Using OCI ADW as a data source requires the following step to setup

Prerequisites

  • Linux/Mac (Intel CPU/ARM 64)

  • python 3.8 and 3.9 only

Installation of oracle-adw package

Installing the oracle-ml-insights oracle-adw package

pip install oracle-ml-insights[oracle-adw]

To install a specific version of the library, add the version. For example: oracle-ml-insights == 1.3.1.

Installing oracle-ml-insights oracle-adw along with Dask

To run the library on the Dask execution engine, install the dask module. This module includes the Dask and distributed dependencies.

pip install oracle-ml-insights[oracle-adw,dask]

To install a specific version of the library, add the version. For example: oracle-ml-insights[dask] == 1.3.1.

Installation of instantclient libraries

The installation of client libraries requires following steps:

  1. Installing instantclient libraries

  2. Enabling thick mode

Installation of instantclient libraries on Macos

Details of installing instant client libraries are provided as follows:

Installation of instantclient libraries on Linux

Details of Installing instant client libraries are provided as follows:

  1. Pick the appropriate instaclient basic package from here.

  2. Install the downloaded RPM with sudo or as the root user. For example:

    sudo yum install oracle-instantclient-basic-21.6.0.0.0-1.x86_64.rpm

  3. Enabling thick mode

    export INSTANT_CLIENT_LIBRARY_PATH=/usr/lib/oracle/<version>/client64/lib

Details of the linux Installation are present here.