[wxPython-users] error msg when running pyexe'd program

Robin Dunn robin at alldunn.com
Mon Sep 24 15:07:23 PDT 2007


shi wrote:
> After upgrading to wxpython 2.8.4.2 (msw-unicode), I get the following error
> when trying to run my py2exe'd application:
> 
>    File "YourApp.py", line 1, in ?
>    File "wx\__init__.pyc", line 45, in ?
>    File "wx\_core.pyc", line 8103, in ?
>    File "wx\_core.pyc", line 8116, in VisualAttributes
> AttributeError: 'module' object has no attribute 'VisualAttributes_font_get'
> 
> Any ideas?
> The application runs fine from the command line "python.exe YourApp.py".

Are you sure that the _core_.pyd from the new version was copied to your 
dist dir and the old one is not still being used?


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list