4.6.3 Install the Required Supporting Packages

Install the required supporting packages for installing OML4Py on Windows.

Both the OML4Py server and client installations for Windows client require that you also install a set of supporting Python packages and utilities, as described below.

Get unzip on the Windows

During the installation of OML4Py, unzip utilities are necessary. unzip commands are required to unpack files during setup while running automated scripts.

To verify whether unzip is installed, open Command Prompt (cmd.exe) and type unzip. If you receive a message like 'unzip' is not recognized as an internal or external command, operable program or batch file", then follow the instructions to download unzip:

  1. Click here to download the unzip setup file.

    Note:

    No installation is required.
  2. Navigate to the folder where the .exe files is stored. Create the folder named Unzip and move the .exe files to the new folder. The path to the .exe files should be similar to:

    <path_to_dir>\Unzip\unzip.exe
  3. Restart your cmd and type:

    echo %PATH% 

    At the end of the PATH, you will see D:\Unzip.

  4. Type "Unzip" to see a list of available commands.

Install Required Packages on OML4Py Windows Client

These steps outline how to install the required Python packages for installing OML4Py on Windows client:

  1. Create a file named requirements.txt containing the following content:

    numpy>=2.1.0
    pandas>=2.2.3
    scipy>=1.14.1
    matplotlib>=3.10.0
    oracledb>=2.4.1
    pyreadline3>=3.5.4
    scikit-learn>1.6.1
  2. Choose from:

    • Install the packages with requirements.txt.

      pip3 install -r requirements.txt 
    • Install the packages from the supporting package bundle. Download oml4py-supporting-win-x86_64-2.1.zip and unzip into supporting folder. Install the packages with --no-index --find-links.
      python3 -m pip install --no-index --find-links=supporting/ -r requirements.txt

      Note:

      --target <install folder> can be used to specify the package installation folder.