please can anyone help me to sort out this issue. when i try to import pygame it's not working and giving me this error
# import pygame ImportError: No module named pygame
i'm using python 3.8 and os catalina
Thanks.
please can anyone help me to sort out this issue. when i try to import pygame it's not working and giving me this error
# import pygame ImportError: No module named pygame
i'm using python 3.8 and os catalina
Thanks.
If your import statement is # import pygame
then remove the # symbol
Open the terminal and run pip install pygame
and then try to import pygame
If you are using any virtual environment first activate the virtual environment from the project location and then run the above command