ImportError: cannot import name 'ImageTk'的解决方法

from PIL import ImageTk
报错:ImportError: cannot import name 'ImageTk'

python3解决方法:
sudo apt-get install python3-pil python3-pil.imagetk

https://blog.csdn.net/zhuiyunzhugang/article/details/90136968

你可能感兴趣的:(ImportError: cannot import name 'ImageTk'的解决方法)