Python installs Pygame.

Source: Internet
Author: User

I really do not love typing, do not love to write these Ah, good want to turn an article, can be vegetarian, not a normal solution to my problem, I want to spit groove, we write the solution is from an article that got ...

My Python version is 2.7.6,2016 September download, the reason why the date is these things have been updated, so the future installation method may be a discrepancy, hmm.

1. First install Easy_install,:https://pypi.python.org/pypi/ez_setup decompression to the current folder, install (CMD Open after CD to unzip the folder input command Python ez_setup.py)

2. Install Easy_install after installing PIP:HTTPS://PYPI.PYTHON.ORG/PYPI/PIP decompression, install (CMD Open after CD to unzip the folder input command python setup.py install)

3. Add the Scripts directory under the Python installation directory (for example, C:\Python27\Scripts) to the System environment variable path, and note the preceding semicolon.

4. http://www.lfd.uci.edu/~gohlke/pythonlibs/#fonttools下载pygame包 here.

5. Switch to the file containing the current WHL file and open it at the command line, and then enter Pip INSTALLXXX.WHL. My is pip install PYGAME-1.9.2B1-CP27-CP27M-WIN_AMD64.WHL.

End.. What, in fact, I really want to know the principle, the principle of various installation methods, I think only know the principle is not used every time to find the installation of a tutorial, and then installed and do not know how to ... There are also a variety of compatibility issues on the deletion of the next is also God annoying, OK, I admit I am very low. Weep....

Python installs Pygame.

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.