当前位置:网站首页>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()
边栏推荐
猜你喜欢
Integer 线程安全的
flask创建数据库失败未报错
longest substring without repeating characters
Mysql实操
【修电脑】系统重装但IP不变后VScode Remote SSH连接失败解决
idea中PlantUML插件使用
输入框最前面添加放大镜&&background-image和background-color冲突问题
Flask failed to create database without error
2022-08-08: Given an array arr, it represents the height of the missiles that will appear in order from morning to night.When the cannon shoots missiles, once the cannon is set to shoot at a certain h
一道很简答但是没答对的SQL题
随机推荐
简单工厂模式
VS2019常用快捷键
The singleton pattern
Explain the wait() function and waitpid() function in C language in detail
Service
The JVM thread state
Altium designer软件常用最全封装库,包含原理图库、PCB库和3D模型库
变压器的工作原理(图解,原理图讲解,一看就懂)
leetcode 之 零移位
什么是分布式事务
Import the pycharm environment package into another environment
e-learning summary
字节跳动面试题之镜像二叉树2020
安装flask
leetcode 之 70 爬楼梯问题 (斐波那契数)
leetcode:55. 跳跃游戏
报错:flask: TypeError: ‘function‘ object is not iterable
思维方法 解决问题的能力
mysql 总结
P6阿里机试题之2020 斐波那契数