Skip to content Skip to sidebar Skip to footer

Pyinstaller Activex Attribute Error With Wxpython

For some reason, when I compile my app with Pyinstaller, it gives me an error when run: Traceback (most recent call last): File '', line 2, in Attrib

Solution 1:

Are you using the activex stuff from wxPython? By the way, you shouldn't import wx like this:

from wxPython.wximport *
from wx import *

The recommended way is

import wx

And then prepend everything with "wx". wxPython is HUGE and by doing it your way, you import almost everything from it, which you don't need. The "wxPython.wx" is super old, I don't know why that's even included any more. Definitely don't use that.

Post a Comment for "Pyinstaller Activex Attribute Error With Wxpython"