安装PIL报错Could not find a version that satisfies the requirement PIL (from versions: )的解决办法

这里写图片描述

使用 pip 安装报错

这里写图片描述

使用 Pycharm 报错

找到的一些解决办法:

安装PIL的坑

pip install PIL dont install into virtualenv

以上两种方式均无法解决

有效的方案:

python 用 python -m pip install –upgrade pip 更新 pip 后 还是不行该怎么办

安装 Pillow 就好了…

这里写图片描述

看了一下 Pillow 的官方文档

Pillow文档

使用方法和 PIL 基本相同,就用他了!

猜你喜欢

转载自blog.csdn.net/heatdeath/article/details/69664216