简体   繁体   English

使用 pip Python 2.7 - Pipe 未被识别为内部或外部命令

[英]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.

相关问题 Python 2.7 &#39;Pip&#39; 不被识别为内部或外部命令 - Python 2.7 'Pip' is not recognized as an internal or external command 'pip' 未被识别为内部或外部命令 - 'pip' is not recognized as an internal or external command 无法解决“ pip”问题的方法未被识别为内部或外部命令 - No way to fix 'pip' is not recognized as an internal or external command &#39;pip2&#39; 未被识别为内部或外部命令 - 'pip2' is not recognized as an internal or external command pip 在 windows7 中未被识别为内部或外部命令 - pip is not recognized as an internal or external command in windows7 如何解决python/pip/pip3 不识别为内部或外部命令 | 更改路径后 python 命令错误? - How to solve python/pip/pip3 is not recognized as an internal or external command | python command error after changing path? '-m' 未被识别为内部或外部命令...同时使用 -m pip install --upgrade pip 更新 pip 版本 - '-m' is not recognized as an internal or external command... while updating pip version using -m pip install --upgrade pip 在Windows 7上安装TensorFlow - &#39;pip3&#39;不被识别为内部或外部命令, - Installation of TensorFlow on windows 7 - 'pip3' is not recognized as an internal or external command, pip 不是内部或外部命令,也不是可运行的程序或批处理文件 - pip is not recognized as an internal or external command, operable program or batch file 点不被识别为内部或外部命令(即使添加了PATH变量之后) - Pip not recognized as internal or external command (even after adding PATH variables)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM