How to Install great-expectations in Python
Always know what to expect from your data.
pip install great-expectations
What is great-expectations?
Always know what to expect from your data.
Always know what to expect from your data. (See for full description).
Quick Start
Minimal example to get started with great-expectations:
import great_expectations
print(great_expectations.__version__)
Installation
pip (standard)
pip install great-expectations
Virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install great-expectations
pip3
pip3 install great-expectations
conda
conda install -c conda-forge great-expectations
Poetry
poetry add great-expectations
Dependencies
Installing great-expectations will also install these packages:
Verify the Installation
After installing, confirm the package is available:
python -c "import great_expectations; print(great_expectations.__version__)"
If this prints a version number, installation succeeded. If you see a ModuleNotFoundError, see the errors section below.
Installation Errors
Common errors when installing great-expectations with pip.
ModuleNotFoundError: No module named 'great_expectations'
Cause: The package is not installed in the current Python environment.
Fix: Run pip install great-expectations. If using a virtual environment, ensure it is activated first.
ModuleNotFoundError: No module named 'great_expectations' (installed but still failing)
Cause: pip installed the package into a different Python than the one running your script.
Fix: Use python -m pip install great-expectations to install into the interpreter you are running.
ImportError: cannot import name 'X' from 'great_expectations'
Cause: The function or class does not exist in the installed version.
Fix: Check the version with pip show great-expectations and upgrade with pip install --upgrade great-expectations.
pip: command not found
Cause: pip is not in PATH or Python was not added to PATH during installation.
Fix: Try python -m pip install great-expectations. On macOS/Linux try pip3.
PermissionError: [Errno 13] Permission denied
Cause: No write access to the system Python package directory.
Fix: Use a virtual environment, or add --user: pip install --user great-expectations
SSL: CERTIFICATE_VERIFY_FAILED
Cause: pip cannot verify PyPI's SSL certificate — common behind corporate proxies.
Fix: Try: pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org great-expectations
MemoryError when loading data
Cause: Dataset is too large to fit in RAM.
Fix: Read in chunks, filter columns on load, or consider Polars/Dask for out-of-core processing.
Recent Releases
| Version | Released |
|---|---|
1.16.0 latest |
2026-04-09 |
1.15.2 |
2026-04-01 |
1.15.1 |
2026-03-13 |
1.15.0 |
2026-03-11 |
1.13.1 |
2026-03-04 |
Manage great-expectations
Upgrade to latest version
pip install --upgrade great-expectations
Install a specific version
pip install great-expectations==1.16.0
Uninstall
pip uninstall great-expectations
Check what is installed
pip show great-expectations