Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api-server 报错如下PIL.Image' has no attribute 'ANTIALIAS' #138

Open
DokiDoki1103 opened this issue Aug 8, 2023 · 4 comments
Open

Comments

@DokiDoki1103
Copy link

{"status": 200, "result": "", "msg": "module 'PIL.Image' has no attribute 'ANTIALIAS'"}
请求的这个接口/ocr/file/json
Kaptcha_5

@beiliubei
Copy link

pip install Pillow==9.5.0

@hanbufei
Copy link

dddd默认安装的pillow是最新版本的,新版本的PIL库有变动,导致原来dddd里的代码不匹配了,解决办法就是降级Pillow==9.5.0。上面兄弟已经给了解决方案:pip install Pillow==9.5.0

@gogo03
Copy link

gogo03 commented Oct 8, 2023

有没有更好的解决办法,因为用到了其它的库,要求pillow版本是10.0以上

@TransparentLC
Copy link

@gogo03 #142 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants