[SOLVED] Pygtk installation


#1

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


#2
sudo apt install python-gtk2 python-gtk2-dev

#3

Thanks! That got me past that hurdle.


#4

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


#5

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


#6

I manually changed that :smile:


#7

Sorry – first time doing this.


#8

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


#9

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