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¶
- 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
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
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¶
- 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.
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.