首先谢谢下面两篇博客的博主!
https://www.cnblogs.com/biyuting/p/6262531.html
https://blog.csdn.net/qq_41185868/article/details/79678909
--------------------------------------------------------------------------------
win10 安装pygame
由于是whl文件,通过pip来安装
where pip:找到pip的路径
然后将whl文件拖到pip.exe同级文件目录下
进入此目录:cd C:\Users\wangbin\AppData\Local\Programs\Python\Python37\Scripts
安装命令:pip install pygame-1.9.4-cp37-cp37m-win_amd64.whl
此时提示安装失败:You are using pip version 10.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
上面提示安装