mm-cot icon indicating copy to clipboard operation
mm-cot copied to clipboard

Conflict in dependencies required

Open Huge opened this issue 2 years ago • 5 comments

Installing on Google Collab I got

INFO: pip is looking at multiple versions of huggingface-hub to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r mm-cot/requirements.txt (line 6) and huggingface-hub==0.0.12 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested huggingface-hub==0.0.12
    sentence-transformers 2.2.2 depends on huggingface-hub>=0.4.0

Huge avatar Feb 22 '23 14:02 Huge

Try the requirements under pull request #12 that fixed it for me.

Requirements in #12

huggingface-hub==0.12.1 #nltk==3.5 numpy==1.23.2 openai==0.23.0 pandas==1.4.3 sentence-transformers==2.2.2 transformers==4.21.1 nltk==3.6.6 evaluate==0.4.0 rouge==1.0.1 rouge_score==0.1.2 rich==13.3.1

Alan1453563 avatar Feb 22 '23 18:02 Alan1453563

@Alan1453563 Were you able to run things in colab afterwards? Can you share the notebook?

carlos-aguayo avatar Feb 22 '23 19:02 carlos-aguayo

@carlos-aguayo No I just checked, and I received another error

Alan1453563 avatar Feb 22 '23 19:02 Alan1453563

Try this

huggingface-hub==0.7.0 numpy==1.23.2 openai==0.23.0 pandas==1.4.3 rouge==1.0.1 sentence-transformers==2.2.2 transformers==4.21.1 nltk==3.6.6 evaluate==0.4.0 rouge==1.0.1 rouge_score==0.1.2 rich==13.3.1

raseraser avatar Feb 23 '23 07:02 raseraser

huggingface-hub>=0.4.0

xjy0791 avatar Feb 27 '23 07:02 xjy0791