这个错误提示是因为缺少 Python 的图像处理库 Pillow(也即原名 PIL,Python Imaging Library)。

你需要使用 pip 命令安装 Pillow 库,命令如下:

pip install Pillow

安装完成后,重新启动你的程序即可。

解决 Python 错误:'No module named 'PIL'' - 如何安装 Pillow 库