pip install PIL 报错:ERROR: Could not find a version ERROR: No matching distribution found for PIL

过程如下图:

pip install PIL 报错:ERROR: Could not find a version ERROR: No matching distribution found for PIL_第1张图片

安装好Pillow就可以了,

查看 \Python\Lib\site-packages文件夹

发现PIL 和Pillow 都有了

 

原因:

因为 PIL 已经被 Pillow 所替代了。

若使用命令 pip install Pillow 仍旧不行,这个时候就需要手动去下载第三方库然后安装。

可见这些链接:

https://www.cnblogs.com/j44p5/p/12564767.html

https://www.jianshu.com/p/3de67550cea6

 

你可能感兴趣的:(python,python,PIL,Pillow)