PIL名称已经换成了Pillow,如下图 所以使用: pip3 install pil 会报错。 正确方法是: pip3 install pillow 转载于:https://www.cnblogs.com/CarbinHee/p/7780279.html