Monthly Archives: August 2013
ImportError: cannot import name Publisher When Using py2exe
1. change from wx.lib.pubsub import Publisher to from wx.lib.pubsub import setuparg1 #must be setuparg1! not setupv1. otherwise cause problem: sendMessage() takes exactly 2 arguments (3 given) py2exe from wx.lib.pubsub import pub Publisher = pub.Publisher() 2. put this in the setup.py: … Continue reading
Posted in Others
Leave a comment