在windows下利用pip进行pygame的安装
1.安装pip(点击此链接),将标有[2]的get-pip的文件另存为
https://pip.pypa.io/en/stable/installing/
2.执行命令
python get-pip.py
3.安装pygame的命令
py -m pip install pygame --user
4.运行简单的案例
py -m pygame.examples.aliens
https://pip.pypa.io/en/stable/installing/
python get-pip.py
py -m pip install pygame --user
py -m pygame.examples.aliens