安装 PIL
sudo apt-get install python-PIL
sudo apt-get remove python-PIL
sudo apt-get autoremove python-PIL
sudo apt-get install python-pil
# from PIL import Image
安装 PIL
sudo apt-get install python-PIL
sudo apt-get remove python-PIL
sudo apt-get autoremove python-PIL
sudo apt-get install python-pil
# from PIL import Image
转载于:https://my.oschina.net/u/2272631/blog/800749