Was this ever resolved, I'm having trouble as well. My google-fu has failed me the last couple days. I know its something simple I don't really see anything in the last 6-8 months but I still cant get it to work.I'm using:
XP Pro SP3
Python V 2.7.3wx.version returns '2.8.12.1 (msw-ansi)'I have tried both stable pyinstaller and development one from yesterday (possible version: 2145d84)When I switched from importing Publisher toI've even tried including this hook below:import osdef hook(mod):pth = str(mod.__path__[0])if os.path.isdir(pth):mod.__path__.append(os.path.normpath(os.path.join(pth, 'kwargs')))return modAfter changing the publisher import:from wx.lib.pubsub import setupkwargsfrom wx.lib.pubsub import setuparg1from wx.lib.pubsub import pub as Publisher
(I have tried every combination of the first two, with both, without one or the other, and with only import Publisher..)With one or the other I seem to get:C:\Documents and Settings\Tom>"C:\Documents and Settings\Tom\Desktop\PyPackagers\pyinstaller-pyinstaller-2145d84\dist\startme.exe"Traceback (most recent call last):File "<string>", line 7, in <module>File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\PyInstaller\loader\iu.py", line 431, in importHookFile "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\PyInstaller\loader\iu.py", line 480, in doimportFile "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\build\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.pub", line 24, in <module>File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\PyInstaller\loader\iu.py", line 386, in importHookFile "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\PyInstaller\loader\iu.py", line 480, in doimportFile "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\build\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.core.listener", line 13, in <module>File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-2145d84\PyInstaller\loader\iu.py", line 409, in importHookImportError: No module named listenerimpl
--To view this discussion on the web visit https://groups.google.com/d/msg/pyinstaller/-/9aFhWy6-PcoJ.
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To post to this group, send email to pyins...@googlegroups.com.
To unsubscribe from this group, send email to pyinstaller...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To post to this group, send email to pyins...@googlegroups.com.
To unsubscribe from this group, send email to pyinstaller...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
C:\Documents and Settings\Tom>"C:\Documents and
-pyinstaller-1045a28\dist\startme.exe"
Traceback (most recent call last):File "<string>", line 7, in <module>
ImportError: cannot import name Publisher
C:\Documents and Settings\Tom>"C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\dist\startme.exe"
Traceback (most recent call last):
File "<string>", line 6, in <module>File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 431, in importHook
mod = self.doimport(nm, ctx, ctx + '.' + nm)File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 480, in doimport
exec co in mod.__dict__File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\build\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.setupv1", line 16, in <module>File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\build\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.pubsubconf", line 16, in setVersionFile "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\build\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.pubsubconf", line 51, in setVersionAssertionError
C:\Documents and Settings\Tom>"C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\dist\startme.exe"
Traceback (most recent call last):File "<string>", line 7, in <module>
File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 431, in importHook
mod = self.doimport(nm, ctx, ctx + '.' + nm)File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 480, in doimport
exec co in mod.__dict__File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\bu
ild\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.pub", line 24, in <module>
File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 386, in importHook
mod = _self_doimport(nm, ctx, fqname)File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 480, in doimport
exec co in mod.__dict__File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\bu
ild\pyi.win32\startme\out00-PYZ.pyz\wx.lib.pubsub.core.listener", line 13, in <module>
File "C:\Documents and Settings\Tom\Desktop\pyinstaller-pyinstaller-1045a28\Py
Installer\loader\iu.py", line 409, in importHook
raise ImportError("No module named %s" % fqname)
ImportError: No module named listenerimpl
Just let me know when. :)
Thanks