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

Refreshing EPIC store gives AttributeError: module 'PIL.Image' has no attribute 'Resampling' #5364

Closed
Unsuitable-Terrain opened this issue Mar 18, 2024 · 1 comment

Comments

@Unsuitable-Terrain
Copy link

Running Mint22 (ubuntu)
After updating to python3-pil 9.0.1, refreshing hits the above PIL error.

In the following files: -
lutris/lutris/gui/widgets/utils.py
lutris/lutris/services/egs.py

Entries with:
resample=Image.Resampling.BICUBIC

...work after being updated to the "modern" PIL(low)
resample=Image.BICUBIC

Seems it was marked for deprecation a while back.
python-pillow/Pillow#5954
Might we want to handle both for a while?

@Unsuitable-Terrain
Copy link
Author

Raised in error. Apologies.
First I read the deprecation backwards.
Also I clearly had a newer version of PIL installed at some point and have gone back to the old system packages which have not been updated to the new method.

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