I've install pygame as I can run it in my IDLE, but whenever I try to run my game program in Visual Studio 2017, it says there is no module named pygame. What do I need to configure or change to run it?
I've searched and most of everything I've found is either from 2015, on windows (I am on mac), or just doesn't pertain to me
#Game
#By Robert Smith
#Initialize python
import pygame
pygame.init()
#Set the screen
screen = pygame.display.set_mode((640, 480))
background = pygame.Surface(screen.get_size())
background.fill((255,255,255))
background = background.convert()
I expect VSCode to boot up a screen from pygame.