[wxPython] Error loading pre6.

Robin,

I just installed preview 6 and I get the following error:

File “C:\PROGRA~1\Python22\Lib\site-packages\wxPython\misc2.py”, line 18, in ?

from utils import *
File “C:\PROGRA~1\Python22\Lib\site-packages\wxPython\utils.py”, line 959, in ?
wxCONFIG_USE_NO_ESCAPE_CHARACTERS = utilsc.wxCONFIG_USE_NO_ESCAPE_CHARACTERS

AttributeError: ‘module’ object has no attribute ‘wxCONFIG_USE_NO_ESCAPE_CHARACTERS’

I got around it by changing the line:

wxCONFIG_USE_NO_ESCAPE_CHARACTERS = utilsc.wxCONFIG_USE_NO_ESCAPE_CHARACTERS

to:
wxCONFIG_USE_NO_ESCAPE_CHARACTERS = 0

in utils.py

I am sure that this is not the best solution. What should the value be?

mike

AttributeError: 'module' object has no attribute
'wxCONFIG_USE_NO_ESCAPE_CHARACTERS'

Uninstall the old one before installing the new. (Or you may be able to get
away with just deleting utilsc.pyd.)

···

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