crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
21.64k stars 3k forks source link

ImportError: cannot import name 'Agent' from partially initialized module 'crewai' (most likely due to a circular import) #35

Closed Verfinix closed 10 months ago

Verfinix commented 11 months ago

I am new here, wanted to try the sample. But having error

ImportError: cannot import name 'Agent' from partially initialized module 'crewai' (most likely due to a circular import)

Any suggestion to fix this ?

I am using conda, python=3.10, have also try python=3.11, both not working

juangonbeamsuntory commented 10 months ago

I had the same use case, just change your python file name where you are executing the code to anything different from "crewai*"

Verfinix commented 10 months ago

Thanks. This solved my issue.

joaomdmoura commented 10 months ago

❤️ thanks folks

prabhatkgupta commented 6 months ago

This works. Thanks @juangonbeamsuntory