Ihidan
Ihidan

Reputation: 568

Using pip Python 2.7 - Pipe not recognized as an internal or external command

I am trying to install Pillow-2.7.0-cp27-none-win32.whl I read it is necessary to use the pip to install such file extension. So I downloaded python 2.7 which already comes with pip installed. However when I try to execute the following command:

pip install Pillow-2.7.0-cp27-none-win32.whl

command prompt returns:

pip is not recognized as an internal or external command

EDIT

I tried the following solution:

'pip' is not recognized as an internal or external command

But the message result is the same

Upvotes: 0

Views: 1445

Answers (3)

Palani S
Palani S

Reputation: 1

Try below steps ( I did same and problem solved)

  1. Run Python installer again
  2. Click Modify
  3. Make sure pip checkbox is selected
  4. Click Next
  5. Make sure 'Add python to environment variables' check box is checked
  6. Click Install
  7. Once installation is complete, open new command prompt and type the command 'pip --version' It will work.

Upvotes: 0

Ridam Aggarwal
Ridam Aggarwal

Reputation: 17

You can try using py -m pip install pillow in the Command Prompt/PowerShell

Upvotes: 1

MattDMo
MattDMo

Reputation: 102892

You need to add the directory containing pip.exe to your PATH. It is usually found in C:\<PythonInstallDir>\Scripts, probably C:\Python27\Scripts unless the installation method has changed recently. The method of editing your PATH varies slightly amongst Windows versions, so Google it with your particular version if you don't already know how to do it.

Upvotes: 1

Related Questions