Installation Guide#

Installation#

Fairlearn can be installed with pip from PyPI as follows:

pip install fairlearn

Fairlearn is also available on conda-forge:

conda install -c conda-forge fairlearn

Some modules of Fairlearn have optional dependencies (see Dependencies), which are not installed by default using the basic installation.

These dependencies are grouped in extras, which can be installed like so (by the example of the customplot extra):

pip install fairlearn[customplot]

Dependencies#

Fairlearn has the following optional dependencies which can be installed via the corresponding extra, ordered by dependent module:

Dependent Module

Dependency

Extra

fairlearn/postprocessing/_plotting.py

matplotlib

customplot