cmubig / Frida

A robot painter designed to support human artists. CoFRIDA, Best Paper on HRI, ICRA 2024. FRIDA, Finalist for Best Paper in Deployed Systems, ICRA 2023.
GNU General Public License v3.0
61 stars 13 forks source link

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #11

Closed shacea closed 7 months ago

shacea commented 7 months ago

ANTIALIAS was removed in Pillow 10.0.0. ANTIALIAS has to be replaced by PIL.Image.LANCZOS or PIL.Image.Resampling.LANCZOS.

or

Use Pillow==9.5.0 instead. I used Pillow==9.5.0 and problem solved.

pschaldenbrand commented 7 months ago

Thank you! Updated main branch to have this change: https://github.com/cmubig/Frida/commit/9829ac6f29ba63f801f7f6fb01a6eee37588e89b