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

AttributeError at /article/article-create/发布文章报错 #36

Open
Lairbug opened this issue Dec 5, 2023 · 1 comment
Open

AttributeError at /article/article-create/发布文章报错 #36

Lairbug opened this issue Dec 5, 2023 · 1 comment

Comments

@Lairbug
Copy link

Lairbug commented Dec 5, 2023

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

Exception Location: | D:\django项目\blog1\django_blog_tutorial\article\models.py in save, line 108

Python Executable:
D:\django项目\blog1\django_blog_tutorial\env\Scripts\python.exe

@Lairbug
Copy link
Author

Lairbug commented Dec 5, 2023

pillow版本太高 pip install pillow==5.4.0即可解决
为什么没有装5.3,是因为报错,没装成功,然后就装了最新的了

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

1 participant