What is the error AttributeError: module 'pygame' has no attribute 'init'?

AttributeError: module 'pygame' has no attribute 'init'
How to solve the problem?
March 23rd 20 at 18:58
1 answer
March 23rd 20 at 19:00
Solution
Delete or rename the folder called pygame in the way
And delete the file called pygame.py in Documents, it is all "masked" for real real modules
Don't call files and folders, they must not start with pygame
thank you - pete.Ondricka commented on March 23rd 20 at 19:03
@pete.Ondrickahelped? - moshe commented on March 23rd 20 at 19:06
Yes, thank you - pete.Ondricka commented on March 23rd 20 at 19:09

Find more questions by tags pygamePython