from PIL import Image 显示没有PIL模块
原因:PIL只支持python2.x,在python3.x中是Pillow包,但调用仍是PIL
解决方法:
安装Pillow包,剩下和PIL用法一样