python3 cannot import name 'ImageTK'


ubuntu16.04 已装python3,PIL报错
from PIL import ImageTK 
ImportError: cannot import name 'ImageTK'

解决:

 sudo apt-get install python3-pil python3-pil.imagetk

备注,python安装如下:

sudo apt-get install python-imaging python-imaging-tk
 
 
原文地址:https://www.cnblogs.com/yangwithtao/p/8872401.html