4.4.5 Uninstall the OML4Py Server from an On-Premises Database 26ai
Instructions for uninstalling the on-premises OML4Py server components from an on-premises Oracle AI Database 26ai.
Uninstall the On-Premises OML4Py Server for Linux
To uninstall the on-premises OML4Py server for Linux, do the following:
- Verify that the
PYTHONHOMEenvironment variable is set to the Python3.12 directory.echo $PYTHONHOME - Verify that
PYTHONPATHenvironment variable is set to the directory in which theomlmodules are installed.echo $PYTHONPATHIf it is not set to the proper directory, set it.
export PYTHONPATH=$ORACLE_HOME/oml4py/modules - Change directories to the directory containing the server
installation zip
file.
cd $ORACLE_HOME/oml4py - Run the server uninstall script
pyquncfg.sql, the script is under$ORACLE_HOME/oml4py/server.cd $ORACLE_HOME/oml4py/serverStart SQL*Plus, connect to the PDB.
$ sqlplus / as sysdba;SQL*Plus: Release 23.0.0.0.0 - Production on Tue Apr 30 12:40:18 2024 Version 23.4.0.24.05 Copyright (c) 1982, 2024, Oracle. All rights reserved. Connected to: Oracle AI Database 26ai Enterprise Edition Release 23.0.0.0.0 - Production Version 23.4.0.24.05Run the
pyquncfg.sqlscript to record the log, spool, and the installation steps to an external file.SQL> spool install.txt SQL> alter session set container=ORCLPDB; SQL> @pyquncfg.sql
Parent topic: Install OML4Py Server for On-Premises Oracle AI Database