Ubuntu – ImportError: No module named pygtk

pygtksoftware installation

I installed the deb files of Fpdb (a poker analysis tool); and i downloaded the program.
The problem is that when i try to run it from the terminal i get this: "ImportError: No module named pygtk ";
I tried to re install and update pygtk but i can't solve the problem.

thanks in advance for any suggestion;


Best Answer

This means the program you are running is looking for a particular python library called pygtk, which allows your program to have a gui. So, to let the program work, you need to install pygtk:

sudo apt-get install python-gtk2-dev

That should do it.