如何为python 3.6安装Pygame 1.9.3

时间:2018-01-11 18:06:21

标签: python windows pygame pip python-wheel

这是我的问题:我需要安装pygame 1.9.3 for python 3.6 for homework assignment但是我已经尝试了几乎所有可能的事情来安装它但是无济于事我仍然无法安装它。当我尝试pip安装时,我收到此错误:

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

这是安装图片:

enter image description here enter image description here

1 个答案:

答案 0 :(得分:0)

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

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

py -3.6 -m pip install pygame

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