python报错及处理 -- 不断总结

ModuleNotFoundError: No module named 'PIL'

解决方法: 运行命令:pip install Pillow

IndentationError: expected an indented block

解决方法:注意缩进对齐

TypeError: cannot use a string pattern on a bytes-like object

https://blog.csdn.net/tzs_1041218129/article/details/52228905

猜你喜欢

转载自www.cnblogs.com/98peiqi/p/11397323.html