mafa1993

关注

ImportError: Could not import PIL.Image. The use of `load_img` requires PIL.

mafa1993

关注

阅读 78

2023-02-14


报错:ImportError: Could not import PIL.Image. The use of `load_img` requires PIL.

解决方案:

pip3 install pillow

或

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pillow

 

相关推荐

googlefrank

python PIL-Image

googlefrank 78 0 0

追风骚年

详解img should be PIL Image. Got <class ‘numpy.ndarray‘>

追风骚年 11 0 0

青乌

PIL.Image、cv2的img、bytes相互转换

青乌 154 0 0

伽马星系

一键解决module ‘keras.preprocessing.image‘ has no attribute ‘load_img‘

伽马星系 43 0 0

路西法阁下

PIL.Image进行图像融合显示(Image.blend)

路西法阁下 141 0 0

秀儿2020

PIL将Image格式转为bytes字节流格式

秀儿2020 117 0 0

简单聊育儿

【pytorch】关于OpenCV和PIL.Image读取图片的区别

简单聊育儿 7 0 0

SPEIKE

python PIL库的Image 图片处理模块 画图修改等

SPEIKE 68 0 0

你带来了我的快乐

【图像处理小知识】PIL Image 中的P和L模式

你带来了我的快乐 8 0 0

快乐码农Alan007

PIL之Image.crop的box参数超界的问题

快乐码农Alan007 127 0 0

精彩评论(0)

0 0 举报