失败显示如下
pip install pygame-i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
ERROR: Cannot unpack file C:\Users\Administrator\AppData\Local\Temp\pip-unpack-5ns_5m92\simple (downloaded from C:\Users\Administrator\AppData\Local\Temp\pip-req-build-6wbbwhaq, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\Administrator\AppData\Local\Temp\pip-req-build-6wbbwhaq
原因是镜像源设置的不对:重新设置镜像源
pip install pygame -i https://pypi.douban.com/simple --trust -host=pypi.douban.com