安装依赖混乱了
stable-baselines3 1.6.2 requires gym==0.21, but you have gym 0.23.1 which is incompatible.
操作pip install gym==0.21 之后
tianshou 0.4.10 requires gym>=0.23.1, but you have gym 0.21.0 which is incompatible.
gym 是其中一个例子,keras,protobuf 也类似
Screen Shot | 有帮助的截图
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.
tianshou 0.4.10 requires protobuf~=3.19.0, but you have protobuf 4.25.3 which is incompatible.
stable-baselines3 1.6.2 requires gym==0.21, but you have gym 0.23.1 which is incompatible.
python-docx 1.1.2 requires typing-extensions>=4.9.0, but you have typing-extensions 4.5.0 which is incompatible.
pydantic 2.5.2 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible.
pydantic-core 2.14.5 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible.
pandas-profiling 3.5.0 requires pydantic<1.11,>=1.8.1, but you have pydantic 2.5.2 which is incompatible.
openai 1.30.3 requires typing-extensions<5,>=4.7, but you have typing-extensions 4.5.0 which is incompatible.
fastapi 0.110.0 requires typing-extensions>=4.8.0, but you have typing-extensions 4.5.0 which is incompatible.
anthropic 0.26.1 requires typing-extensions<5,>=4.7, but you have typing-extensions 4.5.0 which is incompatible.
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
Version | 版本
Latest | 最新版
OS | 操作系统
Mac
Describe the bug | 简述
安装依赖混乱了 stable-baselines3 1.6.2 requires gym==0.21, but you have gym 0.23.1 which is incompatible.
操作pip install gym==0.21 之后 tianshou 0.4.10 requires gym>=0.23.1, but you have gym 0.21.0 which is incompatible.
gym 是其中一个例子,keras,protobuf 也类似
Screen Shot | 有帮助的截图
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. tianshou 0.4.10 requires protobuf~=3.19.0, but you have protobuf 4.25.3 which is incompatible. stable-baselines3 1.6.2 requires gym==0.21, but you have gym 0.23.1 which is incompatible. python-docx 1.1.2 requires typing-extensions>=4.9.0, but you have typing-extensions 4.5.0 which is incompatible. pydantic 2.5.2 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible. pydantic-core 2.14.5 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. pandas-profiling 3.5.0 requires pydantic<1.11,>=1.8.1, but you have pydantic 2.5.2 which is incompatible. openai 1.30.3 requires typing-extensions<5,>=4.7, but you have typing-extensions 4.5.0 which is incompatible. fastapi 0.110.0 requires typing-extensions>=4.8.0, but you have typing-extensions 4.5.0 which is incompatible. anthropic 0.26.1 requires typing-extensions<5,>=4.7, but you have typing-extensions 4.5.0 which is incompatible.
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response