I have tried installing crewai using both pip and “uv” but I cannot seem to understand why the crewai executable is not getting produced.
running uv tool install crewai
shows the error shown in the title
running uv tool list
gives "No tools installed "
I am using Python version 3.10.16 on macOS
Running pip freeze | grep crewai
gives
crewai==0.120.1
crewai-tools==0.45.0
The error you’re seeing with uv tool install crewai
is because CrewAI is not a standalone tool (executable) - it’s a Python package meant to be used within Python scripts.
The installation appears to be successful since pip freeze | grep crewai
shows both crewai
and crewai-tools
are installed.
To use CrewAI, you would typically:
-
Import it in your Python script:
from crewai import Agent, Task, Crew
-
Then create your agents, tasks, and crews within your code.
Then, how to get the CLI command as shown in the installation instructions and in the examples, liks
crewai create-project crew project_name
and things like in this video tutorial
can you share more on if you’re using a virtual environment and also your operating system?
once you install crewai, follow the instructions in our docs to use the cli command. if you’re running into errors, please share more details here, i.e. screenshots or anything that might be helpful for us to help you debug
there must be a defect in the 0.120.1 release, as uv tool install --with crewai-tools crewai@0.120.0
correctly installs both packages.