'Why is there a error if I import pygame, although i have the pack installed?
import pygame
from pygame import *
Why is there an error shown, but i have installed pygame 3 times!
Solution 1:[1]
Take pip show pygame in the terminal to get where you have installed the pygame.
Then check which python interpreter you have selected from the bottom-right on the VSCode.
If it does not match, click the python interpreter to switch the python interpreter.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Steven-MSFT |
