cannot import name 'ImageTk' from 'tkinter' code example
Example 1: ImportError: cannot import name 'ImageTk'
# python 2
sudo apt-get install python-imaging python-pil.imagetk
# python 3
sudo apt-get install python3-pil python3-pil.imagetk
Example 2: mportError: cannot import name 'ImageTK' from 'PIL'
from PIL import Image, ImageTk