crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

Cannot install crewai[tools]

Open Tibiritabara opened this issue 9 months ago • 7 comments

CrewAI has a dependency on top of embedchain. Latest embedchain (0.1.103) requires ChromaDB with version >= 0.5.0 while crewai-tools depends on versions <= 0.5.0. This dependency conflict does not allow me to install crewai-tools.

Tibiritabara avatar May 10 '24 12:05 Tibiritabara

Use poetry to resolve the deps

slavakurilyak avatar May 12 '24 17:05 slavakurilyak

I did this with Poetry. This is the error log:

Because no versions of crewai-tools match >0.2.5,<0.3.0
 and crewai-tools (0.2.5) depends on chromadb (>=0.4.22,<0.5.0), crewai-tools (>=0.2.5,<0.3.0) requires chromadb (>=0.4.22,<0.5.0).
And because embedchain (0.1.103) depends on chromadb (>=0.5.0,<0.6.0)
 and no versions of embedchain match >0.1.103,<0.2.0, crewai-tools (>=0.2.5,<0.3.0) is incompatible with embedchain (>=0.1.103,<0.2.0).
So, because temporal-python-worker depends on both embedchain (^0.1.103) and crewai-tools (^0.2.5), version solving failed.

As seen, it crashes with the chromaDB version used in embedchain lib

Tibiritabara avatar May 13 '24 12:05 Tibiritabara

I did this with Poetry. This is the error log:

Because no versions of crewai-tools match >0.2.5,<0.3.0
 and crewai-tools (0.2.5) depends on chromadb (>=0.4.22,<0.5.0), crewai-tools (>=0.2.5,<0.3.0) requires chromadb (>=0.4.22,<0.5.0).
And because embedchain (0.1.103) depends on chromadb (>=0.5.0,<0.6.0)
 and no versions of embedchain match >0.1.103,<0.2.0, crewai-tools (>=0.2.5,<0.3.0) is incompatible with embedchain (>=0.1.103,<0.2.0).
So, because temporal-python-worker depends on both embedchain (^0.1.103) and crewai-tools (^0.2.5), version solving failed.

As seen, it crashes with the chromaDB version used in embedchain lib

same here

stivaldj avatar May 14 '24 10:05 stivaldj

Is there a solution?

MarcoLooy avatar May 29 '24 17:05 MarcoLooy

I just downgraded my python to 3.11.9 and then it downloaded all fine. The latest versions of crewai still have this issue especially if you are on newer than 3.11 python versions

uditapatelgithub avatar May 29 '24 17:05 uditapatelgithub

I'm using pipenv and came across the same issue. I can however install crewai-tools. I'm also running python 3.11.8

refdataco-jt avatar Jun 21 '24 13:06 refdataco-jt

Is there a fix for this? I'm attempting to build a docker container to run a crew in and I hit this defect :(

nigel-daniels avatar Aug 02 '24 21:08 nigel-daniels

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 02 '24 12:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Sep 08 '24 12:09 github-actions[bot]