I am trying to import pygame in V.S. Code on MacOS, but, it throws me an error:-
Unable to import 'pygame' pylint(import-error)[1,1]
I have already installed pygame using:-
pip install pygame
But, when I run the code, the output shows:-
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Would appreciate it if anyone could please let me know how could I resolve this issue and import pygame successfully on V.S. Code on MacOS! Thanks for the help:)