pip install pygame
提示以下错误:
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command.
1.重新安装pip
conda install pip
2.查看pip版本
pip show pip
此时的版本是19.2.3 安装pygame的pip最低版本是 20.0.2,所以先pip升级
3.升级pip
pip install --upgrade pip
4.再次查看pip版本
pip show pip
此时已经是20.0.2
5.再次安装pygame即可
pip install pygame