How to install Python and corresponding pygame under Windows system

Source: Internet
Author: User

Recently, you are ready to learn Python's programming language. In line with other languages, install the build environment and some necessary tools at the beginning. Here are some of my experiences and experience when I first installed the Python environment.

One, prepare the software resource 1, download the python file

https://www.python.org/downloads/
Select the latest version for Windows to download.

2. Download the a,python3.2 version of the Pygame file that is appropriate for the Python version and previously, download it at the following address

Http://www.pygame.org/download.shtml

b, after the Python3.4 version, download the http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame3 at the following address, download Pip, which is a tool for installing and managing Python packages, Run get-pip.py,get-pip.py directly under Python

https://bootstrap.pypa.io/get-pip.py

Second, download the good resources, first install the Python,python installation directly run the installation package on the line. After the installation is complete, install the PIP tool.
Shortcut key Win+r, in the Run dialog box, enter CMD, and then go to get-pip.py save path, execute the python get-pip.py instruction. 12

After the PIP is installed, you can run the PIP List command to see if wheel is already installed, and if not, run pip install wheel12
Third, after installing the PIP, you can use the PIP tool to install the wheel compression format of the Pygame. Commands under cmd command: Pip install PYGAME-1.9.2A0-CP35-NONE-WIN32.WHL,


You can open the Python runtime interface, and the import pygame directive verifies that the installation is complete.

The WHL file for the win64+python3.6 version is in the following connection

http://down.51cto.com/data/2369613

How to install Python and corresponding pygame under Windows system

Related Article

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.