无法使用 Pycharm 安装 PIL

Lyr*_*ell 0 python module pip python-imaging-library pycharm

嗨,我正在尝试使用 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
Run Code Online (Sandbox Code Playgroud)

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

Eva*_*mer 7

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

它是 PIL 的友好分支。

您可以使用以下命令安装它:

pip install Pillow
Run Code Online (Sandbox Code Playgroud)