Home >Backend Development >Python Tutorial >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".
Recommended: "Python Tutorial"
Enter the code "pip install pygame", select "Cut", and press Return You can download pygame in the car.
Check whether the download is successful and open "ible".
Enter "inport pygame" to see the version number of pygame.
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!