How to know what to install (Ubuntu/Debian) for a given import?

Michael Torrie torriem at gmail.com
Wed Feb 1 16:46:20 EST 2017


On 02/01/2017 01:03 PM, Wildman via Python-list wrote:
> 
> It is the proper way.  This page helps explain it.
> 
> http://askubuntu.com/questions/784068/what-is-gi-repository-in-python
> 
>> ... and doesn't it need an internet connection?
> 
> No.

However the gi module provides access to GTK+3, and it's quite likely
Chris's project requires GTK+2, and would probably take some work to
port from GTK+2 to GTK+3, though in the long run it's worth the effort.

Anyway the GTK+2 module for python is usually called pygtk in the repos.




More information about the Python-list mailing list