Python pygame Installation Method,

Source: Internet
Author: User
Tags windows x86

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.