Skip to main content
Version: 1.2.3

Install GX

GX Core 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 Core 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 Core library:

    Terminal input
    pip install great_expectations
  4. Verify that GX installed successfully.

    In Python, run the following code:

    Python
    import great_expectations as gx

    print(gx.__version__)

    If GX was installed correctly, the version number of the installed GX library will be printed.