【问题标题】:Cannot Install PIL using Pycharm [duplicate]无法使用 Pycharm 安装 PIL [重复]
【发布时间】:2019-11-13 20:53:06
【问题描述】:

您好,我正在尝试使用 Pycharm 安装 PIL。我正在使用 pip 19.1.1

当我尝试安装 PIL 时出现此错误

Collecting PIL

ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)
ERROR: No matching distribution found for PIL

我相信这个错误是由于版本下拉菜单中没有指定 PIL 的版本。我无法指定要安装的 PIL 版本,因为下拉菜单中没有选项。

【问题讨论】:

  • 您真的要安装PIL 还是您的意思是Pillow?根据 pypi 的说法,PIL 的最后一个版本是 2006 年的。

标签: python module pip pycharm python-imaging-library


【解决方案1】:

尝试使用枕头:https://pypi.org/project/Pillow/

它是 PIL 的友好分支。

你可以安装它:

pip install Pillow

【讨论】:

    猜你喜欢
    • 2021-12-30
    • 2021-08-11
    • 2021-03-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-01
    • 1970-01-01
    • 2018-06-19
    相关资源
    最近更新 更多