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.activexwrapper). 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\activexwrapper.pyc", line 5, in ? File "wx\lib\activexwrapper.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.activexwrapper import MakeActiveXClass import axflash flashControl = axflash Thanks for your help ;) -- http://mail.python.org/mailman/listinfo/python-list