DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[BUG]: 无法安装requirements.txt里面的包,因为包冲突

Open chenxian01 opened this issue 1 year ago • 3 comments

ERROR: Cannot install -r requirements.txt (line 30) and huggingface-hub==0.13.4 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested huggingface-hub==0.13.4 transformers 4.30.0 depends on huggingface-hub<1.0 and >=0.14.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-conflict

chenxian01 avatar Jun 17 '23 09:06 chenxian01

If you don't need to use the guanaco-33b model, you can lower the transformer version to 4.28

transformers==4.28

maybe can fix this.

csunny avatar Jun 17 '23 09:06 csunny

我修改成 huggingface-hub>=0.13.4,也可以解决这个问题

xuji755 avatar Jun 18 '23 03:06 xuji755

Thanks for your response.

chenxian01 avatar Jun 19 '23 02:06 chenxian01