ImportError: No module named gtk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygtk (Ubuntu) |
Invalid
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
I have installed all the python-gtk2 related packages in a hoary to breezy
updated system. When I try to run python-gtk2 apps like update-manager:
# update-manager
Traceback (most recent call last):
File "/usr/bin/
import gtk
ImportError: No module named gtk
david@ubuntu:~ $ dpkg -l | grep python | grep gtk
ii python-gtk2 2.8.0-0ubuntu3
Python bindings for the GTK+ widget set
ii python-gtk2-dev 2.8.0-0ubuntu3
GTK+ bindings: devel files
ii python2.4-gtk2 2.8.0-0ubuntu3
Python bindings for the GTK+ widget set
I have no idea why my python installation didn't see the gtk module...
Thanks for your bug. What does "env | grep PY" write? And "python -c "import
sys; print sys.path"?