diff --git a/robohash.py b/robohash.py
index af78d67..ac5cf67 100644
--- a/robohash.py
+++ b/robohash.py
@@ -1,7 +1,7 @@
 # This Python file uses the following encoding: utf-8
 import os
 import hashlib
-import Image
+from PIL import Image
 
 class Robohash(object):
     """