from PIL import Image 显示没有PIL模块
原因:PIL只支持python2.x,在python3.x中是Pillow包,但调用仍是PIL
解决方法:
安装Pillow包,剩下和PIL用法一样
posted on 2022-05-01 21:11 Toriyung 阅读(32) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3