[wxpython-users] AttributeError, wxPython, py2exe

Werner F. Bruhin werner.bruhin at free.fr
Wed Sep 3 03:32:57 PDT 2008


Robert,

Hades Pluto wrote:
> 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>
What is line 4 in the morinus.py do?

Werner
>   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
> ------------------------------------------------------------------------
>
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>   



More information about the wxpython-users mailing list