Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108643 - Under Python 2.4, wxPython fails to install the wx and wxPython directories correctly
Summary: Under Python 2.4, wxPython fails to install the wx and wxPython directories c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Rob Cakebread (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-09 12:22 UTC by Stephan Sokolow
Modified: 2005-10-12 05:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Sokolow 2005-10-09 12:22:03 UTC
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 Bryan Østergaard (RETIRED) gentoo-dev 2005-10-09 12:23:50 UTC
Assigning to pythonhead as he's already investigating this issue.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-10-11 09:13:33 UTC
Thanks Stephan, fixed in CVS.