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
20.79k stars 2.87k forks source link

circular import #537

Closed Ai-ENGINEER-s closed 6 months ago

Ai-ENGINEER-s commented 6 months ago

Hi , I am recently encountered a problem when trying to run crew . It's always telling me that I am on circular import from the package crewai

FaulTTY commented 6 months ago

Is the Python file you're trying to run called crewai.py? That would be the culprit. You'd need to rename it to something else, e.g. main.py.

https://github.com/joaomdmoura/crewAI/issues/35

joaomdmoura commented 6 months ago

Yup, I pretty sure that will be the case

João Moura @joaomdmoura http://twitter.com/joaomdmoura

Em ter., 30 de abr. de 2024 às 17:03, faulTTY @.***> escreveu:

Is the Python file you're trying to run called crewai.py? That would be the culprit. You'd need to rename it to something else, e.g. main.py.

35 https://github.com/joaomdmoura/crewAI/issues/35

— Reply to this email directly, view it on GitHub https://github.com/joaomdmoura/crewAI/issues/537#issuecomment-2086996623, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFC3N63QHRNJNTOIJ2OFF3Y772K5AVCNFSM6AAAAABG6RNMVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBWHE4TMNRSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ai-ENGINEER-s commented 6 months ago

Exactly , this was the error , i was naming the file crewai.py and when i try to import packages i got this error . Thank you for your support