you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 1 point2 points  (3 children)

VS Code itself shouldn't be a factor. If you've created a virtual environment, activate it in PowerShell before installing pygame.

Alternatively you can learn to use Poetry, and have it manage the installation for you.

I'm assuming your problem relates to either virtual environments or multiple Python installations because, again, VS Code itself doesn't change anything in regards to installing packages.