Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install crewai[tools] #595

Open
Tibiritabara opened this issue May 10, 2024 · 5 comments
Open

Cannot install crewai[tools] #595

Tibiritabara opened this issue May 10, 2024 · 5 comments

Comments

@Tibiritabara
Copy link

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.

@slavakurilyak
Copy link

Use poetry to resolve the deps

@Tibiritabara
Copy link
Author

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

@stivaldj
Copy link

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

@MarcoLooy
Copy link

Is there a solution?

@uditapatelgithub
Copy link

uditapatelgithub commented May 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants