Save the date! Google I/O returns May 18-20 Register now

Install Model Card Toolkit

Installing with pip

The Model Card Toolkit is hosted on PyPI, and requires Python 3.6 or later.

pip install model-card-toolkit

You may need to append the --use-deprecated=legacy-resolver flag when running pip20.3.

Installing from source

Starting with version 0.1.4 compiling Model Card Toolkit requires Bazel>=2.0.0.

First, clone the github repo:

git clone

Build the pip package from source:

pip install wheel
cd model_card_toolkit
python3 sdist bdist_wheel

Finally, install your locally built package:

pip install --upgrade ./dist/*pkg.whl

Filing a Bug

If you run into issues with Model Card Toolkit installation, please file an issue with details on your operating system version, Python version, pip version, and locally-installed packages. You can find your locally-installed packages with pip freeze).