错误:line 3, in <module>
from PIL import Image
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Solution:
Run the command: pip install pillow
If running this command shows Requirement already satisfied: Pillow in c:\program files (x86)\python\lib\site-packages (3.4.2)
Indicates that it has been installed,
At this time, you can uninstall to get the latest pillow, run the command: pip uninstall pillow
Then run pip install pillow
just fine
Copyright notice: original article, please indicate the source for reprinting