When I do crewai run in my project I am getting error:
/Users/xxxxx/genai/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:775: UserWarning: Mixing V1 models and V2 models (or constructs, like TypeAdapter
) is not supported. Please upgrade CrewAgentExecutor
to V2.
warn(
Usage: crewai [OPTIONS] COMMAND [ARGS]…
Try ‘crewai --help’ for help.
Error: No such command ‘run’.
crewai==0.28.8
crewai-tools==0.1.6
Upgrade to the latest versions of CrewAI and tools. The current versions are crewai==0.102.0 and crewai-tools==0.36.0. You are way behind.
Here are the installation docs Installation - CrewAI
The strange thing is that when I check crewAI version via pip, I see older version as shown below:
pip3.12 list | grep crewai
crewai 0.28.8
crewai-tools 0.1.6
However, when I check it using uv tool list, I see latest verison:
uv tool list
crewai v0.102.0
I’m not sure why this is happening.