运行时报错:
ModuleNotFoundError: No module named 'PIL'
运行安装命令:
pip install pillow
如果显示已经安装了:
Requirement already satisfied: pillow in /anaconda3/lib/python3.7/site-packages (5.4.1)
运行卸载命令:
pip uninstall pillow
再次安装:
pip install -i https://pypi.douban.com/simple pillow