DB-GPT
DB-GPT copied to clipboard
[BUG]: 无法安装requirements.txt里面的包,因为包冲突
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:
- loosen the range of package versions you've specified
- 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
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.
我修改成 huggingface-hub>=0.13.4,也可以解决这个问题
Thanks for your response.