Below is the error I am receiving and the code I have written. I know similar questions have been asked , but the solutions they are given do not relate to this case. And I can\
You are shadowing the pygame
library with another pygame.py
file, probably in the same location as gamephysics.py
.
Print out the file path of the offending module:
import pygame
print('Path to pygame module:', pygame.__file__)
This will you show you where the 'rogue' module is located. Once you find it, rename it to something else.