How to install pygame in Windows 10 for python 3.9?
Many packages do not have pre-built wheels for Python 3.9 as it is new.
Also pygame-1.9.6-cp27-cp27m-win_amd64.whl is for Python 2.7
Your best bet is to revert to Python 3.8.6 to install pre-built wheel with pip
Unable to install pygame on Python via pip (Windows 10)
There's dev
versions available as of now. Get them via
pip install pygame==2.0.0.dev6
Can't install pygame on windows 10
Apparently, I was using the wrong version of python. Once I downgraded to Python 3.7 (from Python 3.8.0a1), updated pip by using pip install --upgrade pip
, I could install pygame with the command pip install pygame
.
How to fix pip install pygame ?
You are using Python 3.8. Unfortunately pygame has not released any packages for python 3.8.
See here for the complete list of pygame packages and the supported python version.
If you are into pygame
development i would suggest you to downgrade to python 3.7.
Related Topics
How to Add to the Pythonpath in Windows, So It Finds My Modules/Packages
Syntax Error on Print With Python 3
How to Iterate Over a List in Chunks
Replacements For Switch Statement in Python
What Exactly Do "U" and "R" String Prefixes Do, and What Are Raw String Literals
What Is the Purpose of the Single Underscore "_" Variable in Python
How to Keep Keys/Values in Same Order as Declared
How Is Returning the Output of a Function Different from Printing It
How to Control the Source Ip Address of a Zeromq Packet on a Machine With Multiple Ips
MySQL_Config Not Found When Installing MySQLdb Python Interface
Take a Screenshot Via a Python Script on Linux
Packaging a Python Script on Linux into a Windows Executable
Ensure a Single Instance of an Application in Linux