第一部分:问题描述
cannot import name 'Image' from 'PIL' (unknown location)
这个是因为Pillow的问题
第二部分:解决方法
pip uninstall pillow
pip install Pillow==10.0.1(自己原来的版本)
只需要重新安装一下就可以了!
cannot import name 'Image' from 'PIL' (unknown location)
这个是因为Pillow的问题
pip uninstall pillow
pip install Pillow==10.0.1(自己原来的版本)
只需要重新安装一下就可以了!