-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
🐛 问题描述 / Bug Description
问题类型 / Issue Type:
- 🚀 启动/安装问题 / Startup/Installation Issue
Collecting openai<2.0.0,>=1.0.0 (from tradingagents==0.1.13rc0)
Downloading openai-1.109.1-py3-none-any.whl.metadata (29 kB)
ERROR: Cannot install langchain-google-genai==2.1.12 and tradingagents because these package versions have conflicting dependencies.
The conflict is caused by:
google-generativeai 0.8.0 depends on google-ai-generativelanguage==0.6.9
langchain-google-genai 2.1.12 depends on google-ai-generativelanguage<1 and >=0.7
langchain-google-genai 2.1.11 depends on google-ai-generativelanguage<1 and >=0.7
langchain-google-genai 2.1.10 depends on google-ai-generativelanguage<0.7.0 and >=0.6.18
langchain-google-genai 2.1.9 depends on google-ai-generativelanguage<0.7.0 and >=0.6.18
langchain-google-genai 2.1.8 depends on google-ai-generativelanguage<0.7.0 and >=0.6.18
langchain-google-genai 2.1.7 depends on google-ai-generativelanguage<0.7.0 and >=0.6.18
langchain-google-genai 2.1.6 depends on google-ai-generativelanguage<0.7.0 and >=0.6.18
langchain-google-genai 2.1.5 depends on google-ai-generativelanguage<0.7.0 and >=0.6.18
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
简要描述问题 / Brief description:
清晰简洁地描述遇到的问题。
期望行为 / Expected behavior:
无报错,安装依赖通过。
实际行为 / Actual behavior:
安装过程中出现库依赖错误
🔄 复现步骤 / Steps to Reproduce
请提供详细的复现步骤:
Debian 13.1
Python 3.13.5
commit fc89073
pip install -e .
Wait and see.
📱 环境信息 / Environment
系统信息 / System Info:
- 操作系统 / OS: Debian 13.1
- Python版本 / Python Version: 3.13.5
- 项目版本 / Project Version: commit fc89073
安装方式 / Installation Method:
- 本地安装 / Local Installation
依赖版本 / Dependencies:
# 请运行以下命令并粘贴结果 / Please run the following command and paste the result
pip list | grep -E "(streamlit|langchain|openai|requests|tushare|akshare|baostock)"
pip list | grep -E "(streamlit|langchain|openai|requests|tushare|akshare|baostock)"
akshare 1.17.54
langchain 0.3.27
langchain-anthropic 0.3.20
langchain-community 0.3.29
langchain-core 0.3.76
langchain-experimental 0.3.4
langchain-google-genai 2.1.12
langchain-openai 0.3.33
langchain-text-splitters 0.3.11
openai 1.109.0
opentelemetry-instrumentation-langchain 0.47.3
opentelemetry-instrumentation-openai 0.47.3
opentelemetry-instrumentation-openai-agents 0.47.3
opentelemetry-instrumentation-requests 0.58b0
requests 2.32.5
requests-oauthlib 2.0.0
requests-toolbelt 1.0.0
tushare 1.4.24
浏览器信息 / Browser Info (仅Web界面问题):
📊 配置信息 / Configuration
控制台错误 / Console Errors:
请粘贴完整的错误信息和堆栈跟踪
Please paste the complete error message and stack trace