在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
讓您你們失望了,我啥都沒寫。 提供鏈接 https://blog.csdn.net/weixin_30832351/article/details/94889557