Python pygame Installation Method,
This article describes how to install pygame in Python. We will share this with you for your reference. The details are as follows:
Here we will mainly describe how to install pygame.
Like me, many people may find that pygame is a good stuff, but they just don't know how to use it or how to install it. After searching Baidu/google, they find that there is no article
This article describes the installation process of pygame in detail. If you are one of them, this tutorial may help you.
Of course, you must have basic python knowledge when learning pygame. If you already have python basics, the following content may be interesting to you ....
Let's see how to install pygame !!!
We first go to: http://www.pygame.org/download.shtml
Download the required software package:
I chose: pygame-1.9.2a0.win32-py3.2.msi 6.4 MB
Here we want to describe:
The pygame version corresponds to 1.9.2.
The python version corresponds to: 3. 2 .*
So next we need to go to the python official website to download the corresponding version of the python Software Package
We go to: http://www.python.org/download/releases/3.2.5/
Download: Windows x86 MSI Installer (3.2.5) (sig)
For python installation, you can refer to a good article:
Learn Python installation from the old man
Next is the python installation process Demonstration:
Remember to install python first. Otherwise, an error will be reported during pygame installation ....
Double-click the one you downloaded (use pygame-1.9.2a0.win32-py3.2.msi here)
The following page is displayed:
This will automatically detect the python version above your machine .....
Here, pygame is installed successfully, but we cannot guarantee that the installation is successful !!!
You can find the installed pygame module under your python installation directory:
My directory is: E: \ Python32 \ Lib \ site-packages
We need to verify that:
Open python's IDEL (Python GUI) for verification
Refer to: Python IDLE installation and usage tutorial (debugging and download)
Here, we have successfully installed pygame. Next we can use the pygame module ..
I hope this article will help you with Python programming.