Installing the Python Client

The Driverless AI Python Client is available from the Resources drop-down in Driverless AI GUI. The latest release of the client is also available from Python Package Index and Anaconda Cloud.

For Driverless AI Python client API documentation, see

Prerequisites

The Python Client requires Python version 3.6 or greater. In addition, the following Python packages must be installed:

  • requests

  • tabulate

  • toml

  • tornado

Download and Installation

The Python Client can be downloaded from either the Resources drop-down in Driverless AI or the command-line.

Download from Resources Drop-Down

In the Driverless AI top menu, select the RESOURCES > PYTHON CLIENT link to download the driverlessai Python wheel.

Resources dropdown

Download from Command-Line

The Driverless AI Python client is exposed as the /clients/py HTTP end point. This can be accessed via the command line:

wget --trust-server-names http://<Driverless AI address>/clients/py

Wheel Installation

Install the downloaded wheel to your local Python with the pip install command. Once installed, you can launch a Jupyter notebook and begin using the Driverless AI Python client.

Installing from Python Package Index (PyPI)

The latest release of the client is available on PyPI and can be installed to your desired Python environment with pip. The following command installs the latest version of the Python Client:

pip install driverlessai

To upgrade when new versions of the client are released, run the following command:

pip install --upgrade driverlessai

Installing from Anaconda Cloud

To install the Python Client as a conda package, use the following command:

conda install -c h2oai driverlessai