Skip to main content
Version: 1.0 prerelease

Install GX

GX 1.0 is a Python library. Follow the instructions in this guide to install GX in your local Python environment, or as a notebook-scoped library in hosted environments such as Databricks or EMR Spark clusters.

Prerequisites

Install the GX Python library

GX 1.0 is a Python library and as such can be used with a local Python installation to access the functionality of GX through Python scripts.

Installation and setup

  1. Optional. Activate your virtual environment.

    If you created a virtual environment for your GX Python installation, browse to the folder that contains your virtual environment and run the following command to activate it:

    Terminal input
    source my_venv/bin/activate
  2. Ensure you have the latest version of pip:

    Terminal input
    python -m ensurepip --upgrade
  3. Install the GX 1.0 library:

    Terminal input
    pip install great_expectations
  4. Verify that GX installed successfully with the terminal command:

    Terminal input
    great_expectations --version

    If GX was successfully installed, the following output appears:

    Terminal output
    great_expectations, version 1.0.0a4

Next steps