-2

I want to install pygame on visual studio 2019. I used "pip install pygame" in the terminal, and after installing I wrote this code:

import pygame

pygame.init()

screen_width = 640 screen_hight = 640

screen = pygame.display.set_mode((screen_width, screen_hight))

The code did not load and the prgram informed me that "no module named 'pygame'"

0 Answers0