binary-husky / binary-husky/gpt_academic
[Bug]: 在安装知识库所需依赖时出现矛盾
- Dominant language
- Python
- Stars
- 71.3k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Installation Method | 安装方法与平台
Anaconda (I used latest requirements.txt)
### Version | 版本
Latest | 最新版
### OS | 操作系统
Linux
### Describe the bug | 简述
icetk 0.0.7要求protobuf<3.19,但onnx 1.20.1要求protobuf>=4.25.1。
### Screen Shot | 有帮助的截图
**这是在网页的截图,我根据网页的提示进行安装**
**这是protobuf-3.18.3时的报错**
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-cloud-vision 3.12.1 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2, but you have protobuf 3.18.3 which is incompatible.
google-api-core 2.29.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.19.5, but you have protobuf 3.18.3 which is incompatible.
grpcio-status 1.78.0 requires protobuf<7.0.0,>=6.31.1, but you have protobuf 3.18.3 which is incompatible.
googleapis-common-protos 1.72.0 requires protobuf!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2, but you have protobuf 3.18.3 which is incompatible.
onnx 1.20.1 requires protobuf>=4.25.1, but you have protobuf 3.18.3 which is incompatible.
proto-plus 1.27.1 requires protobuf<7.0.0,>=3.19.0, but you have protobuf 3.18.3 which is incompatible.
**这是protobuf-4.25.1时的报错**
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
grpcio-status 1.78.0 requires protobuf<7.0.0,>=6.31.1, but you have protobuf 4.25.1 which is incompatible.
icetk 0.0.7 requires protobuf<3.19, but you have protobuf 4.25.1 which is incompatible.
### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by checking the latest requirements.txt and reproducing the installation in Anaconda on Linux. Compare the constraints for icetk 0.0.7, onnx 1.20.1, and protobuf with the reported Google package conflicts. Done means the documented dependency installation completes without incompatible protobuf requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100