So i've installed pygame and confirmed the installation (aliens example).
I saved my script as pygame.py
.
When I try to run my script I get the following error message:
C:\Users\*****>C:/Users/*****/AppData/Local/Programs/Python/Python39/python.exe c:/Users/*****/Downloads/pygame.py
Traceback (most recent call last):
File "c:\Users\*****\Downloads\pygame.py", line 1, in <module>
import pygame
File "c:\Users\*****\Downloads\pygame.py", line 2, in <module>
from pygame.locals import *
ModuleNotFoundError: No module named 'pygame.locals'; 'pygame' is not a package
Anyone have this issue?