pygame 这个包没有安装。python安装pygame包的方法
很简单:
使用国内源安装,清华源 中科,阿里都可以。
进入Anaconda3 的虚拟环境,输入下面的命令。快速安装
pip install pygame -i https://pypi.tuna.tsinghua.edu.cn/simple
安装效果
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pygame
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4c/0d/23f786eb611652b0125fcf334a0c21324922a756e6d954c50ecddfc8d4bb/pygame-2.1.2-cp36-cp36m-win_amd64.whl (8.4 MB)
|████████████████████████████████| 8.4 MB 119 kB/s
Installing collected packages: pygame
Successfully installed pygame-2.1.2
成功安装。