PIL pip error

结果显示:

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

 

 

错误原因:

现在已经用Pillow代替PIL,PIL较多用于2.7版本的Python中

 

解决方案:

pip install Pillow

 

备注:

1、升级pip,安装该第三方模板后,引入时也有原来的:import image变为:from PIL import Image

2、安装python时要勾选pip和Add python.exe to Path

3、第三方库查询: pypi.python.org
---------------------
作者:Dean0Winchester
来源:CSDN
原文:https://blog.csdn.net/qq_38906523/article/details/79723969
版权声明:本文为博主原创文章,转载请附上博文链接!

posted on 2019-05-20 11:55  冬天里暖阳  阅读(129)  评论(0编辑  收藏  举报

导航