Command '['uv', 'run', 'run_crew']' returned non-zero exit status 1

When I was creating the crew using the command crewai create crew project_name, my crewai wasn’t installed globally, and I was running the crewai install command directly in that folder, not within the crew’s folder.

So, when I realized this “silly” mistake, I opened the crew folder and ran crewai run instead of running crewai install, and it worked. I was really making the hole process wrong I guess.

And if you’re cloning a project from someone else’s repository, you can just use crewai run also and it should be fine for you, just remember to add the .env file.

I hope I’ve made myself clear.
Thanks Tony for dedicating a time for this.

1 Like