Home  >  Article  >  Backend Development  >  How to install python’s pygame library file

How to install python’s pygame library file

藏色散人
藏色散人Original
2019-10-16 11:26:214672browse

How to install python’s pygame library file

How to install python’s pygame library file?

Click on the “Start Menu” and search for the program “cmd”. Right-click the mouse and select "Run as administrator".

How to install python’s pygame library file

Recommended: "Python Tutorial"

Enter the code "pip install pygame", select "Cut", and press Return You can download pygame in the car.

How to install python’s pygame library file

Check whether the download is successful and open "ible".

How to install python’s pygame library file

Enter "inport pygame" to see the version number of pygame.

How to install python’s pygame library file

The above is the detailed content of How to install python’s pygame library file. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use input pythonNext article:How to use input python