bhancockio / crewai-flows-crash-course

46 stars 22 forks source link

Error While Attempting : crewai flow plot #2

Open pascalandy opened 3 weeks ago

pascalandy commented 3 weeks ago

At 51m49 in the tutorial (https://www.youtube.com/watch?v=8PtGcNE01yo) when I run the command crewai flow plot, I'm encountering the following error:

Plotting the Flow
error: Failed to spawn: `plot_flow`
  Caused by: No such file or directory (os error 2)
An error occurred while plotting the flow: Command '['uv', 'run', 'plot_flow']' returned non-zero exit status 2.

I've tried this command with various Python versions, including 3.10, 3.11, and 3.12.7, all within a conda environment, but I'm still getting the same error.

I've searched the GitHub issues for the crewAI repository (https://github.com/crewAIInc/crewAI/issues), but I couldn't find any similar issues reported. This suggests that the problem may be specific to my setup or environment.

Could you please provide some guidance on how I can troubleshoot this issue? I'd appreciate any suggestions or advice on how to resolve this error.

Seneko commented 3 weeks ago

I have the same. Actually plot works from the main.py but not from CLI (crewai flow plot) and I get same error.