crewAI-tools icon indicating copy to clipboard operation
crewAI-tools copied to clipboard

Bug: Issue with embedchain

Open rangelkoli opened this issue 4 months ago • 2 comments

Image

I am trying to deploy a crew ai backend service, here is my requirements.txt file

` crewai==0.152.0

crewai-tools==0.59.0 fastapi==0.116.1 pydantic==2.11.7 pydantic-settings==2.10.1 pydantic_core==2.33.2 python-dotenv==1.1.1 python-multipart==0.0.20 requests==2.32.4 uvicorn==0.35.0 `

Has anyone found a fix to this?

rangelkoli avatar Aug 01 '25 20:08 rangelkoli

Indeed weird. You are trying to install embedchain==0.0.73 however our dependency is "embedchain>=0.1.114"

lucasgomide avatar Aug 06 '25 12:08 lucasgomide

It looks like the problem here is a version mismatch with embedchain. From your requirements.txt, you’re installing:

embedchain==0.0.73

…but the current dependency in the codebase expects:

embedchain>=0.1.114

Because of this gap, your environment is pulling in an older version that may not include required fixes or features. That’s likely why you’re hitting the error right at build time.

Quick fix: Update your requirements.txt entry for embedchain to match or exceed the required version, for example:

embedchain==0.1.114

After updating, reinstall dependencies and rebuild. This should resolve the compatibility issue.

If you still run into trouble after upgrading, feel free to share the updated logs and dependency list so we can check for any other conflicts.

onestardao avatar Aug 13 '25 03:08 onestardao