Bug 108643 - Under Python 2.4, wxPython fails to install the wx and wxPython directories correctly
Bug#: 108643 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: blocker Priority: P2
Resolution: FIXED Assigned To: pythonhead@gentoo.org Reported By: only_bugzilla_automail.era.ssokolow@spamgourmet.com
Component: Applications
URL: 
Summary: Under Python 2.4, wxPython fails to install the wx and wxPython directories correctly
Keywords:  
Status Whiteboard: 
Opened: 2005-10-09 12:22 0000
Description:   Opened: 2005-10-09 12:22 0000
When using Python 2.4, wxPython will fail to install correctly. This happens
whether using wxPython 2.4, 2.6, or both (it's slotted) and prevents any use of
wxPython.


Reproducible: Always
Steps to Reproduce:
1. Unmerge all wxPython versions
2. Emerge wxPython 2.4 and/or 2.6
3. Run python 2.4 and type "import wx" or "import wxPython"

Actual Results:  
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named wx


Expected Results:  
It should have succeeded and prompted for the next line of the program without
displaying a message.

Further examinations of emerge ouput revealed that the ebuild is placing the wx
and wxPython directories into /usr/lib instead of
/usr/lib/python2.4/site-packages where they belong.

"mv /usr/lib/wx{,Python} /usr/lib/python2.4/site-packages/" can be used as a
temporary workaround.

------- Comment #1 From Bryan Østergaard (RETIRED) 2005-10-09 12:23:50 0000 -------
Assigning to pythonhead as he's already investigating this issue.

------- Comment #2 From Rob Cakebread 2005-10-11 09:13:33 0000 -------
Thanks Stephan, fixed in CVS.