win10 python3.7 install pygame
1. Download module with corresponding version python
Download pygame: https://pypi.org/project/pygame/#files
2. In the directory where the downloaded file, open a command line
I am here to put the file in the root directory of the python installation
installed:pip install just downloaded the file name
注:
If you want to be able to use pip instruction anywhere, you need to configure the environment variables python
3. Install a successful test
Open pygame built-in test game:
Python -m pygame.examples.aliens