So I'm trying to install pygame using pip and then I'm trying to import pygame(using vscode by the way) but when I try to import it I get:
ModuleNotFoundError: No module named 'pygame'
Doing python --version in the vscode terminal outputs that my python version is Python 3.10.6 and when I do pip list it does show that pygame 2.1.2 is indeed installed. What am I doing wrong here?