报错ImportError: cannot import name ‘Image’ from ‘PIL’ 的时候大多数情况下是由于PIL版本和当前python的版本不兼容。
1、卸载
输入y确认卸载
pip uninstall Pillow
2、重新安装版本低一点的pillow
pip install "pillow<7.0.0"
报错ImportError: cannot import name ‘Image’ from ‘PIL’ 的时候大多数情况下是由于PIL版本和当前python的版本不兼容。
1、卸载
输入y确认卸载
pip uninstall Pillow
2、重新安装版本低一点的pillow
pip install "pillow<7.0.0"