admin管理员组文章数量:1130349
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
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
版权声明:本文标题:IOError: cannot identify image file; Unresolved import: Image 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1763734848a2958793.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论