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]
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:
Is there another way to add Windows environment variables, see:
Enter this link of a question in StackOverFlow:
Here is the directory you will need:
C:\Users \ XXXX \AppData\Local\Programs \ Python\Python36\Scripts
XXXX = your user name
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