tensorflow / model-remediation

Model Remediation is a library that provides solutions for machine learning practitioners working to create and train models in a way that reduces or eliminates user harm resulting from underlying performance biases.
https://www.tensorflow.org/responsible_ai/model_remediation?hl=en
Apache License 2.0
42 stars 19 forks source link

Dependency issue during installation. #34

Open sharmi1206 opened 1 year ago

sharmi1206 commented 1 year ago

Getting the following error during installation process:

!pip install --upgrade tensorflow-model-remediation !pip install --upgrade fairness-indicators

ERROR: Cannot install fairness-indicators==0.1.1, fairness-indicators==0.1.2, fairness-indicators==0.23.0, fairness-indicators==0.23.1, fairness-indicators==0.24.0, fairness-indicators==0.25.0, fairness-indicators==0.26.0, fairness-indicators==0.26.1, fairness-indicators==0.27.0, fairness-indicators==0.28.0, fairness-indicators==0.29.0, fairness-indicators==0.30.0 and fairness-indicators==0.30.1 because these package versions have conflicting dependencies.

The conflict is caused by: fairness-indicators 0.30.1 depends on tensorflow-data-validation<0.31 and >=0.30 fairness-indicators 0.30.0 depends on tensorflow-data-validation<0.31 and >=0.30 fairness-indicators 0.29.0 depends on tensorflow-data-validation<0.30 and >=0.29 fairness-indicators 0.28.0 depends on tensorflow-data-validation<0.29 and >=0.28 fairness-indicators 0.27.0 depends on tensorflow-data-validation<0.28 and >=0.27 fairness-indicators 0.26.1 depends on tensorflow-data-validation<0.27 and >=0.26.1 fairness-indicators 0.26.0 depends on tensorflow-data-validation<0.27 and >=0.26 fairness-indicators 0.25.0 depends on tensorflow-data-validation<0.26 and >=0.25 fairness-indicators 0.24.0 depends on tensorflow-data-validation<0.25 and >=0.24 fairness-indicators 0.23.1 depends on tensorflow-data-validation<0.24 and >=0.23 fairness-indicators 0.23.0 depends on tensorflow-data-validation<0.24 and >=0.23 fairness-indicators 0.1.2 depends on tensorflow-data-validation<1 and >=0.15.0 fairness-indicators 0.1.1 depends on tensorflow-data-validation<1 and >=0.15.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict
frannfuri commented 8 months ago

Were you able to solve it? I have the same problem and I can't run anything :(