[SOLVED] Pygtk installation

Hi
I need to install pybliographic from source on my Ubuntu 18.04 system.
make install is hanging on a dependency:
snip ===========
checking for python version… 2.7
checking for python platform… linux2
checking for python script directory… ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory… ${exec_prefix}/lib/python2.7/dist-packages
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for PYGTK… no
configure: error: Package requirements (pygtk-2.0 >= 2.24.0) were not met:
No package ‘pygtk-2.0’ found
end snip ===========

The simple minded solution does not find the package:
smcc@jaguar:~/data/static_data/tarballs/pybliographer/pybliographer-1.4.0$ sudo apt install pygtk
[sudo] password for smcc:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package pygtk

Anyone know how to install pygtk?
Thanks,
Sam

sudo apt install python-gtk2 python-gtk2-dev
1 Like

Thanks! That got me past that hurdle.

1 Like

You should mark this reply as the solution, so it is clear the thread is solved.

1 Like

Maybe you should choose my reply, because it doesn’t show the command in the solution part of your post, if not expanded.

I manually changed that :smile:

1 Like

Sorry – first time doing this.

1 Like

No worries. At least you tried and that counts :+1:

1 Like

No problem, it’s kind of hard to see how it works, anyway.

1 Like