报错AttributeError: partially initialized module 'tkinter' has no attribute 'Tk'的解决方法

这是因为我我将自己的py文件命名为了tkinter.py,导致循环导入库,重命名即可
posted @ 2022-07-05 20:02  树叶本子  阅读(1134)  评论(0)    收藏  举报