python中调用 imread 报错: ImportError: cannot import name imread
解决方案:

需要install PIL or Pillow。
windows下安装PIL亲测失败,可以安装Pillow,直接pip指令:pip install Pillow即可
python中调用 imread 报错: ImportError: cannot import name imread
安装成功以后可以使用。

另外

python 读取image还可以使用matplotlib处理图像文件。

相关文章: