[Bug 379573] Re: sudo update-alternatives does not configure the default python-wxgtk in Jaunty
Graham Lamont
379573 at bugs.launchpad.net
Fri Jul 30 00:07:39 BST 2010
Sorry to barge into the middle of this fix. But does anyone know whether
this bug is related to this:
In jaunty, having
1 installed wxgtk2.6
2 installed wxgtk2.8
3 completely uninstalled both
4 installed wxgtk2.8
*Still* get:
File "Grid.py", line 2, in <module>
import wx
ImportError: No module named wx
with
sys.path=['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages']
ie. no sign of /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode.
When I insert:
import sys
sys.path=['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages']
at start of Grid.py (demo) appears to work.
But unfortunately I'm so thick I wouldn't know what to do other than
prepend this to all files!
Is this thread likely to ultimately provide a solution to my n00b woes ?
Thanks.
--
sudo update-alternatives does not configure the default python-wxgtk in Jaunty
https://bugs.launchpad.net/bugs/379573
You received this bug notification because you are a member of Ubuntu
Package Archive Administrators, which is a direct subscriber.
More information about the ubuntu-archive
mailing list