How to load a png image with Python 2.7.8 |Anaconda 2.1.0 (32-bit)? How to load a png image with Python 2.7.8 |Anaconda 2.1.0 (32-bit)? tkinter tkinter

How to load a png image with Python 2.7.8 |Anaconda 2.1.0 (32-bit)?


ImageTk is defined in the package PIL which you should install with:

pip install Pillow

Pillow is a port of PIL that is accessible through pip. Now import PIL like so:

from PIL import ImageTk