Open bitsec12 opened 2 weeks ago
I'm also not able to run it:
Traceback (most recent call last):
File "project.dependencies
is invalid: Expected end or semicolon (after name and no valid version specifier)
asyncio*
^
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.
update pyproject.toml to this:
[project] name = "write_a_book_with_flows" version = "0.1.0" description = "write_a_book_with_flows using crewAI" authors = [ { name = "Your Name", email = "you@example.com" }, ] requires-python = ">=3.10,<=3.13" dependencies = [ "crewai[tools]>=0.76.2,<1.0.0", "asyncio", ]
[project.scripts] kickoff = "write_a_book_with_flows.main:kickoff" plot = "write_a_book_with_flows.main:plot"
[build-system] requires = [ "hatchling", ] build-backend = "hatchling.build"
now "crewai install" is possible, though not sure what the asyncio means, accoridng to chatgpt i can remove the .
crewai run
Running the Crew
error: Failed to spawn: run_crew
Caused by: program not found
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.
Whats the correct call to execute a flew?
Ah seems i have to run the flow with:
crewai flow kickoff
It looks like crewAI switched from poetry. Could you update and fix the example please? I'm not able to test it. Thanks!