Search code examples
pythonwindowspygamepippython-wheel

How To Install Pygame 1.9.3 for python 3.6


Here's my problem: I need to install pygame 1.9.3 for python 3.6 for a homework assignment but I have tried almost every possible thing to install it but to no avail I still can't install it. When I try to pip install I get this error:

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

Here's the install picture:

enter image description here enter image description here


Solution

  • Have you tried this as well? – skrx 10 hours ago

    Thanks to skrx all I had to do is type this in:

    py -3.6 -m pip install pygame

    Thank you so much now I can go on with my school work!