py2exe wx.lib.activexwrapper win32com

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • brieuc.gorin@gmail.com

    #1

    py2exe wx.lib.activexwrapper win32com

    I try to create an exe using py2exe, but i've got some troubles. In my
    application, i use a flash activex control with wxPython
    (wx.lib.activex wrapper). I get the following lines in the log when i
    run my executable

    Code:
    Traceback (most recent call last):
    File "main.py", line 8, in ?
    File "misc.pyc", line 10, in ?
    File "xmlconfig.pyc" , line 10, in ?
    File "window.pyc ", line 13, in ?
    File "wxPython\lib\a ctivexwrapper.p yc", line 5, in ?
    File "wx\lib\activex wrapper.pyc", line 24, in ?
    ImportError: ActiveXWrapper requires PythonWin. Please install the
    win32all-xxx.exe package.

    On my XP with the python installation, i don't have any problems. I
    really don't understand what happen, PythonWin is an ide, the real name
    of the modules is pywin32. I use python 2.3 and wxPython 2.6, py2exe
    0.6 with the bundle option. Some modules aren't correctly imported i
    guess.

    This is my code to import the activex and I makepy the file axflash

    if wxPlatform == '__WXMSW__':
    from wxPython.lib.ac tivexwrapper import MakeActiveXClas s
    import axflash

    flashControl = axflash

    Thanks for your help ;)

  • brieuc.gorin@gmail.com

    #2
    Re: py2exe wx.lib.activexw rapper win32com

    it doesn't work only under windows 98 first edition, still don't know
    how to fix this.

    Comment

    Working...