Toriyung

导航

图像识别随笔~1

from PIL import Image 显示没有PIL模块

原因:PIL只支持python2.x,在python3.x中是Pillow包,但调用仍是PIL

解决方法:

  安装Pillow包,剩下和PIL用法一样

posted on 2022-05-01 21:11  Toriyung  阅读(22)  评论(0编辑  收藏  举报