--- a/mcomix/run.py +++ b/mcomix/run.py @@ -203,7 +203,11 @@ try: import PIL.Image - assert PIL.Image.VERSION >= '1.1.5' + try: + assert PIL.Image.VERSION >= '1.1.5' + except AttributeError: + # Field VERSION deprecated in Pillow 5.2.0 and dropped in 6.0.0 + assert PIL.__version__ >= '5.2.0' except AssertionError: log.error( _("You don't have the required version of the Python Imaging"), end=' ')