For what it’s worth, I tried (in WingIDE) tracing into the import steps. The line number in _core.pyc doesn’t seem to be right, but everything else looks OK.
I don’t have any versions of Python or wxPython installed except 2.4.2, 2.6.1.0, so I don’t think it’s that the IDE is loading one version and the executable is trying to load another . . .
Charles
···
I’m just getting back to Python/wxPython after a few months
elsewhere. For some reason I’m having a pile of troubles with the
Windows version of an app of mine, in standalone-executable form
only. In WingIDE it works fine; on OSX it works fine. This is WinXP,
now with Python 2.4.2.
Here’s the problem stopping me so far: I updated my wxPython to
2.6.1.0. (unicode). After setup.py with py2exe, when I doubleclick my
app’s .exe file it produces an error log file with a traceback from
my modules into
File "wx\__init__.pyc", line 42, in ?
File "wx\_core.,pytc", line 3211, in ?
AttributeError: ‘module’ object has no attribute
‘wxEVT_SCROLL_ENDSCROLL’
What simple fact / operation / detail am I forgetting?
Charles Hartman