Skip to content

Due to the dependencies conflict in the k2.yaml, running the k2 model is impossible. Please update the right file. #18

@Pan-zc

Description

@Pan-zc

There is an error when i try to run conda env create -f k2.yaml as is showing in the README file,Thoes are errors that pip showed:

ERROR: Cannot install datasets==2.11.0, evaluate==0.4.0, gradio-client==0.1.3, gradio==3.27.0, huggingface-hub==0.13.3 and transformers==4.32.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested huggingface-hub==0.13.3
    datasets 2.11.0 depends on huggingface-hub<1.0.0 and >=0.11.0
    evaluate 0.4.0 depends on huggingface-hub>=0.7.0
    gradio 3.27.0 depends on huggingface-hub>=0.13.0
    gradio-client 0.1.3 depends on huggingface-hub>=0.13.0
    transformers 4.32.0 depends on huggingface-hub<1.0 and >=0.15.1

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Due to the dependencies conflict in the k2.yaml, running the k2 model is impossible. Please update the right file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions