A
A
Atome_2332019-06-03 22:21:12
Python
Atome_233, 2019-06-03 22:21:12

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

AttributeError: module 'pygame' has no attribute 'init'
How to solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tendkuh, 2019-06-03
@Atome_233

Delete or rename the folder called pygame in the path
AND delete the files called pygame.py in Documents, it's all "masquerading" as real modules
Don't name files and folders like that, they shouldn't start with pygame

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question