module 'PIL.Image' has no attribute 'ANTIALIAS'

 

BurpSuite实现图形验证码识别
https://blog.csdn.net/qq_41945550/article/details/116526493

识别时报错
响应如下 

HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.7 Date: Sun, 03 Sep 2023 10:42:07 GMT Content-Type: text/html; charset=utf-8 Content-Length: 87 Connection: close 


 {"status": 200, "result": "", "msg": "module 'PIL.Image' has no attribute 'ANTIALIAS'"}
原因是使用的ddddOcr  python的pillow模块,只能用9.4版,不然会识别不出来(10.0版报错)

评论

此博客中的热门博文

跨境运维IP落地:我的Xray节点接力SOCKS5住宅IP实战全记录

redmi ac2100路由刷机