OpenBMB / AgentVerse

🤖 AgentVerse 🪐 is designed to facilitate the deployment of multiple LLM-based agents in various applications, which primarily provides two frameworks: task-solving and simulation
Apache License 2.0
4.08k stars 390 forks source link

Incompatible packages between requirements.txt and requirements_local.txt #120

Open uwFengyuan opened 7 months ago

uwFengyuan commented 7 months ago

I encountered the following errors when I installed requirements.txt and requirements_local.txt 1708769479638

After installing requirements_local.txt, I encountered an error while running your simulation tasks. image

chenweize1998 commented 7 months ago

Should be fixed now. For environment setup, please initiate a new conda environment and run the subsequent commands:

pip install -e .
# To utilize the local models, ensure the following steps are taken:
# Begin by installing pytorch 2.1.0, followed by:
pip install -r requirements_local.txt
# To address any typing-extensions version compatibility issues:
pip install typing-extensions==4.5.0
kibotu commented 6 months ago

I've run (on windows)

conda create --name agentverse
conda activate agentverse
pip install -e .
pip install -r requirements_local.txt
pip install typing-extensions==4.5.0

and got this error:

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.
autoawq 0.2.3 requires typing-extensions>=4.8.0, but you have typing-extensions 4.5.0 which is incompatible.
pydantic-core 2.16.3 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible.
torch 2.2.1 requires typing-extensions>=4.8.0, but you have typing-extensions 4.5.0 which is incompatible.