shawnt00
0
Q:

ImportError: cannot import name 'ImageTK'

sudo apt-get install python3-pil python3-pil.imagetk
0
from PIL import Image, ImageTk
0
# python 2
sudo apt-get install python-imaging python-pil.imagetk

# python 3
sudo apt-get install python3-pil python3-pil.imagetk
0

New to Communities?

Join the community