pip install pygame - > " the system cannot run the specified program"

I'm trying to download pygame in python 3.6.5 (64-bit) windows 10, but when I open cmd, and try to run the Command " pip install pygame" or kivy, or just type "pip" in cmd, this message appears... "The system cannot run the specified program"

I have already uninstalled everything and installed it again, but it was no good.

[![ai the print, I hope you can help, valeuu!! I really want to solve this, to start developing my projects!! Bye!][1]][1]

Author: Rablidad, 2018-04-14

3 answers

It is necessary that you install pip, as you are using windows, by default it comes with pip, the problem must have been at the time of installation, youẽ should not have checked the option to install along with the environment variables, my suggestion is:

Uninstall Python and install again by checking the option "Add Python 3.5 PATH" from the image below:

insert the description of the image here Is there another way to add Windows environment variables, see:

Https://www.youtube.com/watch?v=Y2q_b4ugPWk

 0
Author: Marcus Pereira, 2018-04-15 16:22:39

Enter this link of a question in StackOverFlow:

'Pip' is not recognized

Here is the directory you will need:

C:\Users \ XXXX \AppData\Local\Programs \ Python\Python36\Scripts

XXXX = your user name

 0
Author: Eu001001, 2018-04-16 11:56:18

Add Python to the system Path by opening the Command prompt as administrator and running the following command:

set PATH=%PATH%;C:\COLOQUE AQUI O DIRETORIO COMPLETO DE ONDE O PYTON ESTA INSTALADO.

Ready, now you can already use pip. Let's assume that you want to install the having module. Just open the command prompt and run the following code:

pip install tendo
 0
Author: Luiz Augusto, 2019-12-10 12:08:15