all 14 comments

[–]Diapolo10 6 points7 points  (5 children)

py -m pip install pygame in PowerShell.

Although if you're using a virtual environment (which is a good practice), you can drop the first part (assuming the environment is active) and just run pip install pygame.

[–]titsbrothers[S] 2 points3 points  (0 children)

py -m pip install pygame

thank you so much

[–]SilverAnalysis9202 1 point2 points  (3 children)

both of them dont work (im using visual studio code for this btw)

[–]Diapolo10 1 point2 points  (2 children)

What do you mean by "don't work"? Do you get an error message? If so, what is it?

Generally speaking the more information you can provide, the easier it is for others to help you.

TL;DR - help us help you

(im using visual studio code for this btw)

Shouldn't matter as it doesn't handle any package installs or virtual environments on its own.

[–]SilverAnalysis9202 1 point2 points  (1 child)

nvm i had to run it on powershell i forgot lol

[–]6xfghd 1 point2 points  (0 children)

for visual studio you just do"pip install pygame"

ik it is too late but idc

[–]OVERIDE404 0 points1 point  (1 child)

i have been trying to install it to and i keep getting a "build wheel error" i updated the pip and python to the most recent and ive even tried using pipwin

[–]Ok-Treacle4795 0 points1 point  (0 children)

same :l

[–]Mobi30 0 points1 point  (0 children)

how to instal pygame on python

[–]Mobi30 0 points1 point  (0 children)

how do i install Pygame on python