Hello,

Things have been working perfectly up until I added the wx.lib.pubsub
module to my code, and now my executable refuses to run.  When it hits
the line:

from wx.lib.pubsub import Publisher

the executable stops with an ImportError. (cannot import name
Publisher).

I have spent hours poring over docs and searching the web, and I've
only succeeded in confusing myself more, I'm afraid.  It looks like
the py2exe folks had similar issues, but fixed it at some point.  I
have the feeling that I'm supposed to put something in hooks/hook-
wx.lib.pubsub.py, but I don't have any idea what to put in there...I
tried a couple of things (setting hiddenimports), but again I just
don't understand what I'm doing.

pubsub is manipulating the __path__, I believe, to select between v1
and v2 of its API.  THe directory structure of pubsub looks like this:

pubsub
   core
   pubsub1
   pubsub2
   utils
   ...various setup files that I think hack the __path__....


Thanks for any suggestions that can be offered.

dhyams

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to