crewAI
crewAI copied to clipboard
Cannot install crewai[tools]
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.
Use poetry
to resolve the deps
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
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
Is there a solution?
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
I'm using pipenv
and came across the same issue. I can however install crewai-tools
. I'm also running python 3.11.8
Is there a fix for this? I'm attempting to build a docker container to run a crew in and I hit this defect :(
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.
This issue was closed because it has been stalled for 5 days with no activity.