[英]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.我正在尝试安装 Pillow-2.7.0-cp27-none-win32。 whl I read it is necessary to use the pip to install such file extension.我读到有必要使用pip来安装这样的文件扩展名。 So I downloaded python 2.7 which already comes with pip installed.所以我下载了 python 2.7,它已经安装了 pip。 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 'pip' 未被识别为内部或外部命令
But the message result is the same但是消息结果是一样的
You need to add the directory containing pip.exe
to your PATH
. 您需要将包含pip.exe
的目录添加到PATH
。 It is usually found in C:\\<PythonInstallDir>\\Scripts
, probably C:\\Python27\\Scripts
unless the installation method has changed recently. 除非最近更改了安装方法,否则通常在C:\\<PythonInstallDir>\\Scripts
,可能在C:\\Python27\\Scripts
。 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. 在Windows版本之间,编辑PATH
的方法略有不同,因此,如果您尚不知道如何执行该操作,请与您的特定版本一起使用Google。
You can try using py -m pip install pillow in the Command Prompt/PowerShell您可以尝试在命令提示符/PowerShell 中使用py -m pip install 枕头
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.