我已经使用wx.Python在python中编写了Gui,并使用Pyinstaller对其进行了编译。我的代码在Pycharm中运行良好,但是当我单击gui时,编译后的版本将引发以下错误。我已经用谷歌搜索了这个运气,任何想法将不胜感激!
例外:
2019-02-04 09:59:56.023 PCL601XCE_app[64617:9836366] *** Terminating app due to uncaught exception 'NSGenericException', reason: '[NSTouchBar(<NSTouchBar: 0x7fab42155940 configuration='<NSTouchBarCustomizableConfiguration: 0x7fab4213eb50 identifier='(null)'>' delegate='0x7fab406d80c0'>) itemIdentifiers] was mutated while items array was being built'