xxxxxxxxxx
from PIL import Image, ImageTk
xxxxxxxxxx
-For Debian/Ubuntu:
-Python 2
$ sudo apt-get install python-imaging python-pil.imagetk
-Python 3
$ sudo apt-get install python3-pil python3-pil.imagetk
-For Archlinux:
$ sudo pacman -S python-pillow
-It will install the package and you can use it: from PIL import ImageTk