admin管理员组

文章数量:1654026

1、IOError: cannot identify image file

 

解决方案:

import Image

改为 

from PIL import Image

2、Unresolved import: Image

 打开eclipse->window->references -> Pydev->interpreter python->Forced Builtins->New->输入PIL->Apply-> OK -> 重启eclipse 

参考   https://blog.csdn/g19920917/article/details/41803785

本文标签: ImageidentifyIOErrorfile