Environment: python3.5 win7 64-bit
Because the installation package in msi format is only 32-bit, it cannot be installed.
https://pypi.python.org/pypi/Pygame/1.9.3 Here you can choose the corresponding version to download, which is a whl file. What I downloaded here is
pygame-1.9.3-cp35-cp35m-win_amd64.whl
It is best to install wheel before installation
(pip is selected for installation when installing python)
Then install the pygame package
pip install package path\package name
If no error is reported, the installation is successful
The above is the detailed content of Detailed introduction to installing the third-party library pygame in Python. For more information, please follow other related articles on the PHP Chinese website!