4.6.4 Install OML4Py Client Package
Instructions for installing OML4Py Client for Windows.
Steps to install the OML4Py client package on Windows
Download and Extract the OML4Py Client Installation File
To download and extract the OML4Py client installation file, do the following:
-
Download the client installation zip file.
- Go to the Oracle Machine Learning for Python Downloads page on the Oracle Technology Network.
- Accept the license agreement.
- Select Oracle Machine Learning for Python Client Install on Windows.
- Save the zip file to an accessible directory.
-
Navigate to the directory to which you downloaded the zip file and unzip the file.
unzip oml4py_windows_client.zipThe contents are extracted to a subdirectory named
client, which contains these four files:- client/client.bat
- client/libmmd.dll
- client/oml-2.1-cp313-cp313-win_amd64.whl
- client/sitecustomize.py
Install OML4Py client
OMl4Py client can be installed either by using the bat script or by without script.
-
Install OML4Py client with bat script
-
Set all files under client folder to READ only.
icacls "client\*" /inheritance:r icacls "client\*" /remove:g Administrators SYSTEM %USERNAME% icacls "client\*" /grant:r %USERNAME%:RX Administrators:RX SYSTEM:RX -
Install OML4Py:
To install OML4Py run the following command:cd client client.bat -i -
Uninstall OML4Py:
To uninstall OML4P run the following command:client.bat -u
-
-
To Install OML4Py client without script.
You can directly install packages from a
.whlfile using pip3 if you don't want to verify dependencies, Python requirements, or set access control on the installation folder.-
Install oml whl from client folder:
pip3 install --no-deps client/oml-2.1-cp313-cp313-win_amd64.whl -
Copy libmmd.dll to
%PYTHONHOME%:cp client/libmmd.dll %PYTHONHOME% -
Copy sitecustomize.py to
%PYTHONHOME%/Lib/site-packages/:cp client/sitecustomize.py %PYTHONHOME%/Lib/site-packages/
-