Python wx package doesn't supply the wx library in a location where python finds it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wxwidgets2.8 (Ubuntu) |
Incomplete
|
Undecided
|
Rolf Leggewie |
Bug Description
Python can't find wx, even though it's installed. Here's a sample session showing the problem:
user@ubuntu:~$ echo $PYTHONPATH
user@ubuntu:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named wx
>>>
user@ubuntu:~$ PYTHONPATH=
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>
I have to manually specify the path to the wx package, otherwise it's not found.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-wxgtk2.8 2.8.12.
ProcVersionSign
Uname: Linux 3.5.0-21-generic i686
ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
Date: Thu Dec 20 15:44:41 2012
InstallationDate: Installed on 2010-10-25 (787 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
MarkForUpload: True
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
XDG_RUNTIME_
SourcePackage: wxwidgets2.8
UpgradeStatus: Upgraded to quantal on 2012-12-20 (0 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.