cannot import name 'ImageTK' - python 3.5 cannot import name 'ImageTK' - python 3.5 tkinter tkinter

cannot import name 'ImageTK' - python 3.5


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


For Python3 on Ubuntu 18 I had to uninstall the Python (2) packages then install the Python 3 packages:

apt-get remove python3-pil python3-pil.imagetk python-pil.imagetk python-pilapt-get install python3-pil.imagetk # Note that python3-pil installed as a dependency


I tried this to install Pillow itself and it works well, i didn't use sudo.

$ pip install Pillow --user

Source for the main installation guide: here

Feel free to edit my answer/correct me.