Python module
Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. Pygame was originally … Wikipedia
Factsheet
Original authors Lenard Lindstrom, RenΓ© Dudfield, Pete Shinners, Nicholas Dudfield, Thomas Kluyver, and others
Developer Pygame Community
Release 28 October 2000; 25 years ago (2000-10-28)
Factsheet
Original authors Lenard Lindstrom, RenΓ© Dudfield, Pete Shinners, Nicholas Dudfield, Thomas Kluyver, and others
Developer Pygame Community
Release 28 October 2000; 25 years ago (2000-10-28)
🌐
Reddit
reddit.com β€Ί r β€Ί pygame β€Ί comments β€Ί 5k4qsk β€Ί installing_64_bit_pygame_for_windows_10_python_360
r/pygame on Reddit: installing 64 bit pygame for windows 10 Python 3.6.0
December 24, 2016 - I finally figured it out the long way from here http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame and typed from a command prompt in folder: C:\Users\USERNAME\AppData\Local\Programs\Python\Python36> scripts\pip.exe install c:\users\USERNAME\downloads\pygame-1.9.2-cp36-cp36m-win_amd64.whl which resulted in: Processing c:\users\USERNAME\downloads\pygame-1.9.2-cp36-cp36m-win_amd64.whl Installing collected packages: pygame Successfully installed pygame-1.9.2 Hope it works for you too. Of course replace USERNAME above with your windows 10 username.
🌐
MiniTool Partition Wizard
partitionwizard.com β€Ί home β€Ί partition manager β€Ί how to install pygame on windows 10? [a full guide]
Install PyGame on Windows 10 - Discover the Ultimate Guide
December 5, 2024 - Step 1: Visit the Python website and download the latest version of Python 3. If you are using a 32-bit system, please select Windows installer (32-bit); if you are using a 64-bit system, please select the Windows installer (64-bit).
Discussions

How to install pygame in Windows 10 for python 3.9? - Stack Overflow
I have tried everything Here are some of the methods I have tried C:\Users\win 10\AppData\Local\Programs\Python\Python39> python -m pip install pygame-1.9.6-cp27-cp27m-win_amd64.whl The follow... More on stackoverflow.com
🌐 stackoverflow.com
how do i download pygame?
First, if you have not yet, download Python 3, https://www.python.org/downloads/ Once it is installed, you can open the command prompt or powershell and type in the commands: pip install pygame pygame is a gamin library for Python More on reddit.com
🌐 r/pygame
22
9
October 5, 2022
python 3.x - How to install pygame windows 10? - Stack Overflow
I just tried to install pygame for python 3.4 my windows computer, but apparently I need to extract the whl file? I have seen other questions like this one on stackoverflow and it says to write in More on stackoverflow.com
🌐 stackoverflow.com
Need help installing pygame
Well first off, in order to help you we need more info like what is the error you are getting? What platform are you on? What Python version? More on reddit.com
🌐 r/learnpython
6
3
March 31, 2024
🌐
Pygame
pygame.org β€Ί download.shtml
Downloads - pygame
There are some pre release binaries for 64bit windows, and for python 2.7 at http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame Β· 1.9.1 has been packaged up for almost all major distributions. You can also install 1.9.1 from source with python setup.py install (see Compilation page).
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί installation guide β€Ί how-to-install-pygame-in-windows
How to Install Pygame on Windows ? - GeeksforGeeks
July 23, 2025 - In this article, we will learn how to Install PyGame module of Python on Windows. PyGame is a library of python language. It is used to develop 2-D games and is a platform where you can set python modules to develop a game.
🌐
Pygame
pygame.org β€Ί wiki β€Ί GettingStarted
GettingStarted - pygame wiki
Make sure you install python with the "Add python to PATH" option selected. This means that python, and pip will work for you from the command line. There is documentation with python for the "windows installation steps"
🌐
PyPI
pypi.org β€Ί project β€Ί pygame
pygame Β· PyPI
Download URL: pygame-2.6.1-pp3...x2014_x86_64.whl ... See more details on using hashes here. Details for the file pygame-2.6.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl. Download URL: pygame-2.6.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl ... See more details on using hashes here. Details for the file pygame-2.6.1-pp39-pypy39_pp73-macosx_10_15_x86...
      Β» pip install pygame
    
Published Β  Sep 29, 2024
Version Β  2.6.1
Find elsewhere
Top answer
1 of 7
3

For me this command works.->py -m pip install -U pygame --user But first, make sure you properly configure your environment variables. This tutorial http://www.aaronstannard.com/how-to-setup-a-proper-python-environment-on-windows/ will help you how to setup environment variables for python, make sure you do it correctly only step 2 ,no need to do any other steps from this tutorial, now you can follow my steps that were listed below. I will assume that you have already installed python in your computer

Step1

Search for cmd and Right click on cmd and do run as administrator.

Step2

Run the command, py -m pip install -U pygame --user, but before you run this command first of all make sure you configure your environment variables properly.

Step3

Type python in command prompt, this will take you to the python command line which will look like this ">>>".If not then you have a problem with your system variables.

Step4

Make sure you are in python command line and then type import pygame,and after this press ctrl+z and enter that will take you out from python command line.

Step5

Make sure you are not in python command line and then run this command py -m pygame.examples.aliens,if the game starts then congrats you are done.

2 of 7
2

It can be possible that the pip/ wheel is not installed follow this link to install pip link

If already installed maked sure it is updated if not

You can use this code to update: python –m ensurepip –-upgrade or pip install --upgrade pip

To install wheel pip install wheel or upgrade pip install wheel --upgrade

once this is done you are good to install pygame

At the command line, make sure you’re in the same directory as the .whl file and run pip install package-name.whl

🌐
YouTube
youtube.com β€Ί watch
How to Install PyGame with latest Python 3.13 on Windows 10/11 [2025 Update] PyGame Tutorial - YouTube
Hello Everyone! Today, in this video, I am going to step-by-step guide you on How to install PyGame with the latest Python 3.13 on Windows 11. Windows (64-bi...
Published Β  October 4, 2025
🌐
YouTube
youtube.com β€Ί watch
How to Install Pygame - YouTube
Install pygame. Pygame is a module wrapper for SDL, that lets you create games in python. To install pygame, you need to use the python package installer (pi...
Published Β  March 31, 2025
🌐
YoungWonks
youngwonks.com β€Ί blog β€Ί How-to-Install-PyGame-on-Windows
How to Install PyGame on Windows
October 23, 2018 - How to Install PyGame on Windows. Follow this step-by-step installation guide for PyGame installation on a Windows PC.
🌐
Reddit
reddit.com β€Ί r/learnpython β€Ί need help installing pygame
r/learnpython on Reddit: Need help installing pygame
March 31, 2024 -

Basically I have an assignment that involves me using pygame, but I don't know how to install it, I've read in multiple places that I just say pip install pygame and that somehow magically fixes everything, but it gives me error, and yes I do import the pip module, but it doesn't work. I've tried it in vs code, python, idle, it doesn't work, I would rlly appreciate some help. For simplicity's sake, let's pretend I just installed idle, how exactly can I use pygame? Thanks in advance

🌐
Reddit
reddit.com β€Ί r/learnpython β€Ί how do you install "pygame"
r/learnpython on Reddit: How do you install "pygame"
June 19, 2019 -

EDIT: Solution provided by skuhduhduh

I've instaleld libraries in the past no problem but this particular library is proving very troublesome. I have Windows 10 64 bit PC.

I've installed it successfully using the command prompt:

C:\Program Files\Python37>python -m pip install pygame
Collecting pygame
  Using cached https://files.pythonhosted.org/packages/ed/56/b63ab3724acff69f4080e54c4bc5f55d1fbdeeb19b92b70acf45e88a5908/pygame-1.9.6-cp37-cp37m-win_amd64.whl
Installing collected packages: pygame
Successfully installed pygame-1.9.6

C:\Program Files\Python37>

If I open IDLE (Python 3.7) I can successfully use the following commands import pygame and print(pygame.ver) to obain the output:

Hello from the pygame community. https://www.pygame.org/contribute.html
1.9.6

However, if I try to use Spyder, I just get the error message:

    import pygame
ModuleNotFoundError: No module named 'pygame'

I have also tried Pycharm and get a similar message. I guess there is something going wrong with the location of these files, but I don't know what? I've installed other libraries and used them just fine so I don't know what could be the issue. Its been asked on other websites and I've tried solutions like using conda to install it (it just froze in the command prompt) and also tried installing it inside the scripts folder.

🌐
YouTube
youtube.com β€Ί watch
How to Install PyGame on Windows 10 - YouTube
in this video I am going to show How to Install Pygame on Windows 10. What is pyGame? pyGame is A set of Python modules to make it easier to write games. the...
Published Β  August 12, 2019
🌐
Pfaj
pygame.pfaj.ca
PyGame Installation Guide
The PyGame download on the official website is out of date, so grab pygame-1.9.2b1-cp35-cp35m-win32.whl from here. Open up Windows Explorer (the file manager), click on the address bar, paste in %localappdata%\Programs\Python\Python35-32\, and press Enter.
🌐
Hofstra
cs.hofstra.edu β€Ί docs β€Ί guides β€Ί installingpygame.html
How to Install Pygame - Computer Science - Hofstra University
April 18, 2018 - You are ready to install Pygame. Type the following command in the Terminal and press Enter. Note that you will probably have to enter your password in the Terminal in order for the command to run: sudo pip3 install hg+http://bitbucket.org/pygame/pygame
🌐
Quora
quora.com β€Ί How-do-you-install-pygame
How to install pygame - Quora
Answer (1 of 4): The easiest way is using PIP, a package manager of python. Think of PIP as the app store for python. Assuming you already know python in the console, download and run this file. Since the package for windows is available in the Python Package Index PyPi, you can simply do a [cod...