只要安装Pillow库就可以解决了
1.在命令行中找到对应虚拟环境位置,然后
activate 虚拟环境名
进入虚拟环境
2.安装Pillow
conda install Pillow
运行过程如下:
安装成功,问题解决。