This question already has answers here:
How can I install pip on Windows?

(40 个回答)


2年前关闭。




我的系统是:

Win 10 64 位

我正在尝试为 python 安装 Pillow,但我永远做不到,我是这个东西的新手。

我下载了 5.3.0 的轮子,因为我有 3.7,然后我尝试安装但得到这个:
pip install Pillow==5.3.0
'install' is not recognized as an internal or external command,
operable program or batch file.

有谁知道下载枕头的解决方案或更好但更简单的方法?

最佳答案

我试过这个命令,它对我有用:

C:\Users>workon python37
(python37) C:\Users>pip install Pillow==5.3.0
Collecting Pillow==5.3.0
  Downloading https://files.pythonhosted.org/packages/55/ea/305f61258278790706e69f01c53e107b0830ea5a4a69aa1f2c11fe605ed3/Pillow-5.3.0-cp37-cp37m-win_amd64.whl (1.6MB)
    100% |████████████████████████████████| 1.6MB 3.9MB/s
Installing collected packages: Pillow
Successfully installed Pillow-5.3.0
You are using pip version 18.0, however, version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

您应该检查您的python3.7 中是否安装了 pip 。它甚至可能没有安装。

在您的标签中,您提到了 Pycharm 并且在其中,您没有使用 pip 安装软件包,它有自己的软件包 ocntrol ui。

Pycharm package install guide

10-08 06:16
查看更多