user8595015
user8595015

Reputation:

pip is not recognized what trying to install pyinstaller

Whenever I try to install pyinstaller I am not able to and I get the error "'pip' is not recognized as an internal or external command, operable program or batch file." could anyone help me as it also affects me when I try to install directories.

Upvotes: 0

Views: 1540

Answers (2)

evamvid
evamvid

Reputation: 861

If you haven't installed pip, you can install it by using get-pip.py. Download it as a .py file, and run it using python get-pip.py.

To add it to your path variable so that you can run it from anywhere (assuming Windows 10), go to System/Control Panel, then Advanced System Settings, then Environment Variables. Find the path variable, and add at the end C:\Python27\Scripts\pip.exe (replacing XX with the appropriate Python version, and making sure that there's a semicolon between the end of the last entry and the new one). Save your changes, and you should be able to use pip from any directory in the system.

Upvotes: 0

Abe
Abe

Reputation: 1415

Try to use full syntax to command, typing:

python -m pip install pyinstaller

Upvotes: 1

Related Questions