-
首先确定你已下载pillow(pyhton2为PIL,python3为pillow)和Image
pip install pillow
pip install Image
觉得慢就加源:https://blog.csdn.net/qq_44105350/article/details/108727978 -
若反馈类似的:
ImportError: cannot import name ‘image’ from ‘PIL’ -
解决方案:
重新下载pillow:
pip uninstall pillow
pipi install pillow -
最后注意大小写!!!!
关于from PIL import Image报错的问题
最新推荐文章于 2024-04-25 16:22:32 发布