wxPython 2.7 install/uninstall issues

Kevin Ollivier kevino at theolliviers.com
Fri Sep 15 22:35:49 PDT 2006


Hi all,

Sorry, I meant to type this up sooner but got caught up in other  
things. :-) Anyways, I've noticed the following issues while  
installing and uninstalling 2.7 on OS X (Tiger, Universal, Intel Mac  
10.4.7):

1) After install, the wxPython.wx appears not to work any longer. The  
exact error message I get when doing an import is this:

   File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/wx-2.7.0-mac-unicode/wxPython/__init__.py",  
line 15, in ?
    import _wx
  File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/wx-2.7.0-mac-unicode/wxPython/_wx.py", line  
7, in ?
    from _controls import *
  File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/wx-2.7.0-mac-unicode/wxPython/_controls.py",  
line 441, in ?
    wxFRAME_EX_CONTEXTHELP = wx._controls.FRAME_EX_CONTEXTHELP
AttributeError: 'module' object has no attribute 'FRAME_EX_CONTEXTHELP'

2) After uninstalling, I had to re-install 2.6.3.3 for the  
wxPython.wx import command to work again. It gave me a "module  
wxPython.wx does not exist" error. I will note that I may have had a  
custom 2.6.3.x install, but I think I was running from the stock  
version.

3) Also, after uninstalling 2.7, the wxaddons package was also  
removed, so I had to reinstall my addons. IMHO, we should offer a  
separate option for it in the uninstaller, or only remove it when the  
last wxPython on the machine is uninstalled.

Is anyone else seeing these issues?

Thanks,

Kevin




More information about the wxpython-dev mailing list