I run the latest Versions:
crewai==0.86.0
crewai-tools==0.17.0
I create a new crew with:
crewai create crew <crewname>
I start it with:
crewai run
It works perfectly fine.
But when I define a new custom tool and try to import it in the crew.py file, i get this error:
...
from tools.custom_tool import ImageGeneratorTool
ModuleNotFoundError: No module named 'tools'
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 1.
...