I have also been getting the same error as the rest of the folks here.
A few details
- I am trying to reproduce the results in these yt videos - https://www.youtube.com/watch?v=twzgEBabOBk&t=210s - where I believe the authors are using the latest version of crewai.
- I am using crewai==0.80.0, python==3.10.8, Amazon Linux ec2 instance with centos rhel fedora OS.
To get around the onnxruntime error, I am using chromadb==0.4.24 and onnxruntime==1.14.1.
I tested the above configs to implement the demo in the above yt video. I created my own version of the pyproject.toml file which is a slightly tweaked compared with the original version as in the above yt video. Here is the tweaked toml file:
[project]
name = “edu”
version = “0.1.0”
description = “edu using crewAI”
authors = [{ name = “Your Name”, email = “you@example.com” }]
requires-python = “>=3.10,<=3.13”
dependencies = [
“crewai[tools]>=0.80.0,<1.0.0”,
“pydantic>=2.4.2”,
“langchain>=0.2.16”,
“openai>=1.13.3”,
“opentelemetry-api>=1.22.0”,
“opentelemetry-sdk>=1.22.0”,
“opentelemetry-exporter-otlp-proto-http>=1.22.0”,
“instructor>=1.3.3”,
“regex>=2024.9.11”,
“crewai-tools>=0.14.0”,
“click>=8.1.7”,
“python-dotenv>=1.0.0”,
“appdirs>=1.4.4”,
“jsonref>=1.1.0”,
“json-repair>=0.25.2”,
“auth0-python>=4.7.1”,
“litellm>=1.44.22”,
“pyvis>=0.3.2”,
“uv>=0.4.25”,
“tomli-w>=1.1.0”,
“tomli>=2.0.2”,
“chromadb==0.4.24”,
“onnxruntime==1.14.1”
]
[project.scripts]
edu = “edu.main:run”
run_crew = “edu.main:run”
train = “edu.main:train”
replay = “edu.main:replay”
test = “edu.main:test”
[build-system]
requires = [“hatchling”]
build-backend = “hatchling.build”
[tool.hatch.build.targets.wheel]
packages = [“src/edu”]
Let me know if this works for you.