我正在使用Pysimpleguiqt为我的python程序创建gui。我从GIT回购中下载了pysimplegui。运行gui代码时,我在PysimpleguiQt文件中遇到以下错误:
window = sg.Window('A2L Parser 1.1', layout, icon = u"icon\\index.ico", auto_size_buttons = False).Finalize()
File "C:\Python37\lib\site-packages\PySimpleGUIQt\PySimpleGUIQt.py", line 3217, in __init__
self.Layout(layout)
File "C:\Python37\lib\site-packages\PySimpleGUIQt\PySimpleGUIQt.py", line 3251, in Layout
self.BuildKeyDict()
File "C:\Python37\lib\site-packages\PySimpleGUIQt\PySimpleGUIQt.py", line 3490, in BuildKeyDict
self.AllKeysDict = self._BuildKeyDictForWindow(self,self, dict)
File "C:\Python37\lib\site-packages\PySimpleGUIQt\PySimpleGUIQt.py", line 3516, in _BuildKeyDictForWindow
element.Key = element.Key + str(self.UniqueKeyCounter)
AttributeError: 'Window' object has no attribute 'UniqueKeyCounter'
Exception ignored in: <function Window.__del__ at 0x000001944C948730>
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\PySimpleGUIQt\PySimpleGUIQt.py", line 3787, in __del__
File "C:\Python37\lib\site-packages\PySimpleGUIQt\PySimpleGUIQt.py", line 1298, in __del__
AttributeError: 'Output' object has no attribute 'my_stdout'
有人可以帮助我解释这个错误吗?