From 2d3e49cc1385cdf99aa6a8b254e117cb6a427997 Mon Sep 17 00:00:00 2001 From: Johan Kanflo Date: Sun, 12 Mar 2017 16:29:47 +0100 Subject: [PATCH] Replaced obeoleted package PIL with Pillow --- imagecolor.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/imagecolor.py b/imagecolor.py index f9d1ba2..3d3ab73 100644 --- a/imagecolor.py +++ b/imagecolor.py @@ -32,9 +32,8 @@ try: from PIL import Image except ImportError: - print "PIL module not found, install using 'sudo pip install PIL'" - print "If that fails, try 'sudo pip install PIL --allow-external PIL --allow-unverified PIL'" - sys.exit(1) + print "Pillow module not found, install using 'sudo pip install Pillow'" + exit(1) def getImage(searchTerm):