Here is my small program,
import pygame pygame.init()
Here is my compilation command.
python myprogram.py >
python myprogram.py
Delete the "pygame.py" file in your Documents folder, it is shadowing the real pygame you've installed.
It looks like you first saved your small test program as "pygame.py", then renamed it to "game.py".