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

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

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

本文来自博客园,作者:ReluStarry,转载请注明原文链接:https://www.cnblogs.com/relustarry/p/14357476.html

原文地址:https://www.cnblogs.com/relustarry/p/14357476.html