Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Pan-zc opened this issue Mar 19, 2024 · 0 comments

Comments

@Pan-zc
Copy link

Pan-zc commented Mar 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant