当前位置:网站首页>imageio读取.exr报错 ValueError: Could not find a backend to open `xxx.exr‘ with iomode `r`
imageio读取.exr报错 ValueError: Could not find a backend to open `xxx.exr‘ with iomode `r`
2022-08-09 06:47:00 【still_learning】
问题展示
img = imageio.imread(path)
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\remib.virtualenvs\qzMurbXh\lib\site-packages\imageio\core\functions.py”, line 206, in imread
reader = read(uri, format, ‘i’, **kwargs)
File “C:\Users\remib.virtualenvs\qzMurbXh\lib\site-packages\imageio\core\functions.py”, line 126, in get_reader
‘in mode %r’ % mode)
ValueError: Could not find a format to read the specified file in mode ‘i’
或者提示
Based on the extension, the following plugins might add capable backends:
EXR-FI: pip install imageio[freeimage]
楼主在使用imageio.imread 读取 .exr 文件时报错。
解决方案
开启一个python端口,运行下面指令,补充一个库的安装即可。
import imageio
imageio.plugins.freeimage.download()
边栏推荐
- mysql 总结
- Quectel EC20 4G module dial related
- 输入框最前面添加放大镜&&background-image和background-color冲突问题
- Error jinja2.exceptions.UndefinedError: 'form' is undefined
- 单例 DCL(double check lock) 饱汉模式和饿汉模式
- 2022年7月小结
- P7 Alibaba Interview Questions 2020.07 Sliding Window Algorithm (Alibaba Cloud Interview)
- Leetcode 70 stairs issues (Fibonacci number)
- 普罗米修斯原理及节点发布
- CalBioreagents超全Id 蛋白兔单克隆抗体,助力科研
猜你喜欢
随机推荐
way of thinking problem-solving skills
使用百度EasyDL实现智能垃圾箱
VS2019 common shortcut keys
MySQL高级特性之分布式(XA)事务的介绍
Thread Pool Summary
VS2019常用快捷键
flask创建数据库失败未报错
Leetcode 70 stairs issues (Fibonacci number)
idea中PlantUML插件使用
C# 利用iTextSharp画PDF
Distributed id generator implementation
Use of PlantUML plugin in idea
95后,刚工作2-3年就年薪50W+ ,才发现打败我们的,从来不是年龄···
如何操作数据库
vim 程序编辑器的基本操作(积累)
字节也开始缩招了...
Teach you how to make the Tanabata meteor shower in C language - elegant and timeless (detailed tutorial)
顺序表删除所有值为e的元素
一道很简答但是没答对的SQL题
golang zip aes base64