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

 

posted @ 2019-08-22 22:44  oceansharks  阅读(200)  评论(0编辑  收藏  举报