Yesterday I installed python from source. I'm not sure what happened but now when importing gtk i get the error
Code:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named gtk
I tried reinstalling python and python-gtk2 from synaptic to no avail. I can't find any way to remove the source installation or revert back to my previous configuration. Can anyone please assist me to get python-gtk2 back?
EDIT: /usr/bin/python2.5 seems to be working fine. The default "python" interpreter (don't know where it is located) is having the problem. I am thinking of removing "python" and linking python2.5 to it. Would it work? How would I do it?
Edit 2: Alright, I ended up removing " python" binaries from /usr/local/bin and /usr/bin and copying python2.5 as python . Stuff works now, but I would still like to know what the proper solution would have been
Bookmarks