报错解决方法: from wx.lib.pubsub import setuparg1 from wx.lib.pubsub import pub as Publisher 然后:替换任何出现Publisher()的Publisher