如何为 python 3.6 安装 Pygame 1.9.3

How To Install Pygame 1.9.3 for python 3.6

这是我的问题:我需要为 python 3.6 安装 pygame 1.9.3 作为作业,但我已经尝试了几乎所有可能的方法来安装它,但无济于事我仍然可以'安装它。当我尝试 pip install 时出现此错误:

pip : The term 'pip' is not recognized as the name of a cmdlet, function, 
script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip install wheel
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

这是安装图片:

你也试过这个吗? – skrx 10 小时前

感谢 skrx,我所要做的就是输入:

py -3.6 -m pip 安装pygame

非常感谢你,我现在可以继续我的学业了!