microsoft / responsible-ai-toolbox-mitigations

Python library for implementing Responsible AI mitigations.
https://responsible-ai-toolbox-mitigations.readthedocs.io/en/latest/
MIT License
57 stars 6 forks source link

No module named 'seaborn' when importing the "cohort" module #51

Closed mrfmendonca closed 1 year ago

mrfmendonca commented 1 year ago

After installing the package using pip install raimitigations, when I import any class from the cohort module, I get the following error:

> from .utils import fetch_cohort_results, plot_value_counts_cohort
> import seaborn as sns
No module named 'seaborn'

The error doesn't occur if I install the library using pip install raimitigations[all].

To fix, add seaborn to the base set of dependencies, not only to the [all] dependency group.

marah-abdin commented 1 year ago

Addressed and resolved in release v1.1.1.