AttributeError: type object 'Image' has no attribute 'open'

分析:
查看原因可知道异常是在Tkinter中的回调发生的,所以可能是引用库的顺序出错了。

 解决办法:
改变引用库的顺序

 

 

posted @ 2021-02-01 16:46  ReluStarry  阅读(1782)  评论(1编辑  收藏  举报