Installing the Python Client¶
The Python Client is available on the Driverless AI UI and published on the h2oai channel at https://anaconda.org/h2oai/repo.
Installing from Driverless AI¶
Requirements¶
- Python 3.6. This is the only supported version.
Download from UI¶
On the Driverless AI top menu, select the RESOURCES > PY_CLIENT link. This downloads the h2oai_client
wheel.
Download from command line¶
The Driverless AI Python client is exposed as /clients/py
HTTP end point. This can be accessed via command line:
wget --trust-server-names http://<Driverless AI address>/clients/py
Wheel installation¶
Install this wheel to your local Python via pip
comand. Once installed, you can launch a Jupyter notebook and begin using the Driverless AI Python Client.
Installing from Anaconda Cloud¶
Requirements¶
- Conda Package Manager. You can install the Conda Package Manager either through Anaconda or Miniconda. Note that the Driverless AI Python client requires Python 3.6, so ensure that you install the Python 3 version of Anaconda or Miniconda.
Installation Procedure¶
After Conda is installed and the Conda executable is available in $PATH, create a new Anaconda environment for h2oai_client:
conda create -n h2oaiclientenv -c h2oai -c conda-forge h2oai_client
Upon completion, you can launch a Jupyter notebook and begin using the Driverless AI Python Client.