When using cinnamon-settings user, it doesn't change the user avatar. I am getting the error: AttributeError:module 'PIL.Image' has no attribute 'ANTIALIAS' I solved changing: image.thumbnail((255, 255), Image.ANTIALIAS) to image.thumbnail((255, 255), Image.LANCZOS) And now it works.