[wxpython-users] AttributeError, wxPython, py2exe

Hades Pluto robert.pluto at gmail.com
Wed Sep 3 03:52:18 PDT 2008


Hi Werner,

morinus.py line 4: import wx

Rob

On Wed, Sep 3, 2008 at 12:32 PM, Werner F. Bruhin <werner.bruhin at free.fr>wr=
ote:

> Robert,
>
> Hades Pluto wrote:
>
>> Hi,
>>
>> I'd like to create an executable from my python project that uses wxPyth=
on
>> 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 resulti=
ng
>> 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
>>
>>
>
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200809=
03/af7cca97/attachment.htm


More information about the wxpython-users mailing list