C: \ Users \ Raiqupip install pygame - "The system can not execute the specified program"

0

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

I've uninstalled everything and installed again, but it did not work.

    
asked by anonymous 14.04.2018 / 02:51

3 answers

0

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

Uninstall Python and install again by checking the ADD Python 3.5 PATH option below:

Thereisanotherwaytoaddthewindowsenvironmentvariables,see:

link

    
15.04.2018 / 18:22
0

Add Python to the System Path by opening the command prompt as an administrator and executing the following command:

set PATH =% PATH%; C: \ PUT THE FULL DIRECTORY HERE PYTON IS INSTALLED.

Okay, now you can use the pip. Let's assume you want to install the module having. Just open the command primpt and execute the following code:

Pip install having

    
16.04.2018 / 04:04
0

Enter this link for a question in StackOverFlow:

Here is the directory you will need:

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

XXXX = Your user name

    
15.04.2018 / 01:11