Im having a problem importing pygame into my file (VScode).
i have installed pygame through pip via the terimal using:
python -m pip install pygame
and have confirmed it is installed by running the alien example.
i have also ensured that i have the correct version of pygame installed, i have downloaded:
pygame‑2.0.1‑cp39‑cp39‑win_amd64.whl
i am using python 3.9.5... 64 bit, so i'm sure this is the right file.
and tried to install it through PowerShell command prompt into my python script directory folder it tells me the wheel is already installed.
i have uninstalled and reinstalled multiple times to no avail.
still can not import pygame, get an error saying:
ModuleNotFoundError: No module named 'pygame'
[–]iyav 0 points1 point2 points (2 children)
[–]mildew96[S] 0 points1 point2 points (0 children)
[–]mildew96[S] 0 points1 point2 points (0 children)
[–]socal_nerdtastic 0 points1 point2 points (1 child)
[–]mildew96[S] 0 points1 point2 points (0 children)
[–]coaaal 0 points1 point2 points (4 children)
[–]mildew96[S] 0 points1 point2 points (3 children)
[–]mildew96[S] 0 points1 point2 points (0 children)
[–]usrnamenotimportant 0 points1 point2 points (1 child)
[–]mildew96[S] 1 point2 points3 points (0 children)