Pygame error: ‘pygame’ has no attribute ‘init’

Just rename your file from pygame.py to myTestGame.py for example; because you’re importing the same file when you use import pygame !

Leave a Comment