kyegomez / swarms

The Enterprise-Grade Production-Ready Multi-Agent Orchestration Framework Join our Community: https://discord.com/servers/agora-999382051935506503
https://docs.swarms.world
GNU Affero General Public License v3.0
1.79k stars 245 forks source link

[BUG] Dependency Conflicts with Swarms and Langchain Packages #616

Open ao2-tech opened 3 weeks ago

ao2-tech commented 3 weeks ago

Describe the bug Currently experiencing a recurring dependency conflict caused by outdated versions of langchain-community and langchain-experimental within the latest release of swarms (5.8.6). Error Details:

ERROR: Cannot install -r /requirements.txt (line 127), -r /requirements.txt (line 312) and langchain-community==0.3.2 because these package versions have conflicting dependencies.

The conflict is caused by:
  - The project requires `langchain-community==0.3.2`
  - `langchain-experimental 0.3.2` depends on `langchain-community<0.4.0, >=0.3.0`
  - `swarms 5.8.6` depends on `langchain-community==0.0.29`

Additional context The issue stems from running swarms 5.8.6 relying on an older version of langchain-community (0.0.29), which is incompatible with newer versions of langchain-experimental and langchain-community (which some other functionalities depend on). Interestingly, earlier versions of swarms, such as 2.2.9, appear to support more recent dependencies than the latest version supports.

Upvote & Fund

Fund with Polar

github-actions[bot] commented 3 weeks ago

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.

kyegomez commented 3 weeks ago

@ao2-tech i need to update the requirements.txt with my personal requirements and check to see what packages I have on my computer