--- nml-0.4.5/nml/version_info.py.old	2018-06-30 09:10:30.000000000 +0000
+++ nml-0.4.5/nml/version_info.py	2020-01-11 00:14:30.683254313 +0000
@@ -71,7 +71,10 @@
     #PIL
     try:
         from PIL import Image
-        versions["PIL"] = Image.VERSION
+        if hasattr(Image, 'VERSION'):
+            versions["PIL"] = Image.VERSION
+        else:
+            versions["PIL"] = "1.1.7"  # Pillow
     except ImportError:
         try:
             import Image