[wxpython-users] AttributeError, wxPython, py2exe

Hades Pluto robert.pluto at gmail.com
Wed Sep 3 02:59:01 PDT 2008


Hi,

I'd like to create an executable from my python project that uses wxPython
with py2exe.
I have
Python 2.5.2
wxPython 2.8-win32-unicode
py2exe 0.6.8-win32-py25
installed and I have the following problem when I try to run the resulting
executable:

Traceback (most recent call last):
  File "morinus.py", line 4, in <module>
  File "wx\__init__.pyc", line 45, in <module>
  File "wx\_core.pyc", line 14713, in <module>
  File "wx\_controls.pyc", line 7458, in <module>
AttributeError: 'module' object has no attribute
'_AxBaseWindow_swigregister'

The problem is that it worked fine with ansi wxPython but not with unicode.
I have already reinstalled everything but did't help.

I am using "import wx" everywhere in my code.

I'd really appreciate if somebody helped me.

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200809=
03/6af8def8/attachment.htm


More information about the wxpython-users mailing list