py2exe wx.lib.activexwrapper win32com

B

brieuc.gorin

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 ;)
 
B

brieuc.gorin

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top