当前位置:网站首页>成功解决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()边栏推荐
- LeetCode 2342. Digital and equal number of one of the biggest and
- Tibetan Mapping
- RAII Technology Learning
- 基于低能耗自适应聚类层次结构(LEACH)(Matlab代码实现)
- go bidirectional streaming mode
- 躲避雪糕刺客?通过爬虫爬取雪糕价格
- 性能测试理论1 | 性能测试难点问题梳理
- nrm ls 为什么前面不带 *了
- JS develops 3D modeling software
- Postgresql daily operation and maintenance skills, suitable for beginners
猜你喜欢
随机推荐
「MySQL」- 基础增删改查
错误:“filesystem“ 不是 “std“ 的成员
微信小程序开发之图片压缩方案
图解LeetCode——593. 有效的正方形(难度:中等)
js中原型链的理解,原型链解决的是什么问题?
c语言进阶篇:指针(四)
神经网络迭代次数的一个近似关系
App测试需要测什么
el-table加合计
Kotlin接口
[Microservice~Nacos] Nacos service provider and service consumer
CSDN外链解决方法 (2022-07-28测试可用)
05. Private properties in script_setup
解决:Error while adding the mapper ‘interface to configuration. Error parsing Mapper XML
实现批量导出功能
Object.freeze() learning
Tcp ip
English语法_不定代词 -some & any
测试/开发程序员面试该如何谈薪资待遇呢?突破这个坎......
Performance Testing Theory 1 | Sorting out difficult problems in performance testing









