Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Unable to install model-card-toolkit in Colab #283

@swsachith

Description

@swsachith

Expected Behavior

First cell of both example notebooks:
https://colab.research.google.com/github/tensorflow/model-card-toolkit/blob/main/model_card_toolkit/documentation/examples/Standalone_Model_Card_Toolkit_Demo.ipynb
https://colab.research.google.com/github/tensorflow/model-card-toolkit/blob/master/model_card_toolkit/documentation/examples/Scikit_Learn_Model_Card_Toolkit_Demo.ipynb

fails to install the model-card-toolkit package.

Actual Behavior

fails to install the toolkit.

Steps to Reproduce the Problem

  1. Run the first cells of both notebooks on colab.

Error attached below.

Specifications

  • Version: latest
  • Platform: colab

ERROR: Cannot install model-card-toolkit==1.0.0, model-card-toolkit==1.1.0, model-card-toolkit==1.2.0, model-card-toolkit==1.3.0, model-card-toolkit==1.3.1, model-card-toolkit==1.3.2 and model-card-toolkit==2.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
model-card-toolkit 2.0.0 depends on tensorflow-data-validation<2.0.0 and >=1.5.0
model-card-toolkit 1.3.2 depends on ml-metadata<1.6.0 and >=1.5.0
model-card-toolkit 1.3.1 depends on ml-metadata<1.6.0 and >=1.5.0
model-card-toolkit 1.3.0 depends on ml-metadata<1.6.0 and >=1.5.0
model-card-toolkit 1.2.0 depends on ml-metadata<1.6.0 and >=1.5.0
model-card-toolkit 1.1.0 depends on ml-metadata<1.3.0 and >=1.2.0
model-card-toolkit 1.0.0 depends on ml-metadata<0.27.0 and >=0.26.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    installationInstallation and dependency problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions