MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/pythonhelp/comments/ok394k/why_is_my_pygame_getting_errors/
r/pythonhelp • u/[deleted] • Jul 14 '21
This is my program, for now it is meant to show a blank display yet it runs into errors, anyone know whats wrong:
2 comments sorted by
2
Your file that you execute is called pygame.py. You need to rename that file. Else import pygame will import itself and not the package pygame that you probably installed with pip.
1 u/[deleted] Jul 14 '21 Cheers mate, it works!
1
Cheers mate, it works!
2
u/MrPhungx Jul 14 '21
Your file that you execute is called pygame.py. You need to rename that file. Else import pygame will import itself and not the package pygame that you probably installed with pip.