Closed SouthernCure closed 2 months ago
Was totally an idiot, mb
could you please just add what the problem was? Just in case somebody is finding it and doesn't figure it out on their own.😊
@SouthernCure have you named your file coc? ,because your error says circular imports
Issue explained I am using a package called coc while also having another python script called coc.py to store functions. It was messing everything up, LOL; I'm creating a basic discord bot, which is on my GitHub if anyone needs some reference.
Issue explained I am using a package called coc while also having another python script called coc.py to store functions. It was messing everything up, LOL; I'm creating a basic discord bot, which is on my GitHub if anyone needs some reference.
If you using coc.py then you cannot name your file coc instead name something else like main.py or something and try again to run your script
Yeah, I already have a main.py and was going to save functions for Clash of Clans is coc.py; it's no big deal; I plan to redo it and give it another name anyways. Ill make sure there's no overlap
Also thanks for being so quick to respond didn't expect anyone even to see my issue within a day or two LOL
Having trouble using coc.utils for some reason
Issue:
Trying to initialize the package coc utils with
Reason: I had created another python script called "coc.py" which overlapped with the coc package (circular import)
Solution: Delete or rename the script you made called coc.py