当前位置:网站首页>成功解决AttributeError: ‘PngImageFile‘ object has no attribute ‘imshow‘
成功解决AttributeError: ‘PngImageFile‘ object has no attribute ‘imshow‘
2022-07-30 02:13:00 【一个处女座的程序猿】
成功解决AttributeError: 'PngImageFile' object has no attribute 'imshow'
目录
解决问题
AttributeError: 'PngImageFile' object has no attribute 'imshow'
解决思路
属性错误:“PngImageFile”对象没有属性“imshow”
解决方法
PngImageFile没有imshow方法,但是有show方法,所以需要进行以下更改!
将
img.imshow()
改为
img.show()边栏推荐
猜你喜欢

信息系统项目管理师核心考点(五十四)配置项分类、状态与版本

表达式计算器 ExpressionRunner

SwiftUI SQLite数据库存储使用教程大合集(2022年版)

org.apache.ibatis.binding.BindingException Invalidbound statement (not found)的解决方案和造成原因分析(超详细)
CSDN外链解决方法 (2022-07-28测试可用)

Type-C边充电边OTG芯片——LDR6028A

Elephant Swap:借助ePLATO提供加密市场的套利空间

Google浏览器打开axure产品原型的解决方案

新型LaaS协议Elephant Swap给ePLATO提供可持续溢价空间

LeetCode 2342. Digital and equal number of one of the biggest and
随机推荐
Docker installs MySQL with one click
Houdini 地形知识点
Embedded SIG | 分布式软总线
What to test for app testing
LeetCode Question of the Day (874. Walking Robot Simulation)
MIT6.S081 小结
[VMWARE--Shared files]
JS开发3D建模软件
【C语言刷LeetCode】2295. 替换数组中的元素(M)
解决:npm ERR code ELIFECYCLE npm ERR errno 1(安装脚手架过程中,在npm run dev 时发生错误)
【2023海康威视提前批笔试题】~ 题目及参考答案
error: 'filesystem' is not a member of 'std'
Performance Testing Theory 1 | Sorting out difficult problems in performance testing
Type-C边充电边OTG芯片——LDR6028A
LeetCode 2348. 全 0 子数组的数目
MIT6.S081 Summary
关于 SAP Fiori 应用的离线使用
LeetCode 2342. 数位和相等数对的最大和
typora 透明背景图片
Talk about the construction of the performance test environment