Skip to main content

Python API Installation

Depending on the target operating system, a Python virtual environment may need to be installed first: The native Kinetica Python API is accessible through the following means:

Python Virtual Environment

A Python virtual environment is necessary to install in an operating environment where Python is externally managed.
  1. Install a Python virtual environment:
  2. Activate the Python virtual environment:

PyPI

  1. Install the API:
  2. Test the installation:
    If Import Successful is displayed, the API has been installed as is ready for use.

Git

  1. In the desired directory, run the following, but be sure to replace <kinetica-version> with the name of the installed Kinetica version, e.g., v7.2:
  2. Change directory into the newly downloaded repository:
  3. In the root directory of the unzipped repository, install the Kinetica API:
  4. Test the installation (Python3 is necessary for running the API example):