binary-husky / gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
https://github.com/binary-husky/gpt_academic/wiki/online
GNU General Public License v3.0
64.36k stars 7.96k forks source link

[Bug]: 安排依赖问题 #1831

Open huanshanxiaoyao opened 4 months ago

huanshanxiaoyao commented 4 months ago

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