python装PIL报错

 用命令sudo pip install PIL ,报错如下

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

  用命令sudo pip search PIL报红:Pillow

解决:

 用命令 sudo pip install Pillow安装,from PIL import Image导入

posted @ 2018-08-30 21:19  啊耶  阅读(176)  评论(0)    收藏  举报