简体   繁体   中英

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM