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

2017-02-02 Thread Chris Green
Michael Torrie wrote: > 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. > > Howe

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

2017-02-02 Thread Chris Green
Michael Torrie wrote: > On 02/01/2017 02:29 PM, Chris Green wrote: > > OK, thank you, what a strange way to do it. > > Why is it strange? Essentially, python bindings for any GObject-based > library are now fully automatic via this gi module. No longer do we Which is thus different from every

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

2017-02-01 Thread Rustom Mody
On Thursday, February 2, 2017 at 5:44:51 AM UTC+5:30, Erik wrote: > On 01/02/17 23:20, Wildman via Python-list wrote: > > On Wed, 01 Feb 2017 21:29:00 +, Chris Green wrote: > > > >> Wildman wrote: > >>> On Wed, 01 Feb 2017 19:15:13 +, Chris Green wrote: > >> OK, no problem, but isn't it ver

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

2017-02-01 Thread Michael Torrie
On 02/01/2017 02:29 PM, Chris Green wrote: > OK, thank you, what a strange way to do it. Why is it strange? Essentially, python bindings for any GObject-based library are now fully automatic via this gi module. No longer do we need custom bindings for each component of a glib-based library. Thi

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

2017-02-01 Thread Erik
On 01/02/17 23:20, Wildman via Python-list wrote: On Wed, 01 Feb 2017 21:29:00 +, Chris Green wrote: Wildman wrote: On Wed, 01 Feb 2017 19:15:13 +, Chris Green wrote: OK, no problem, but isn't it very non-portable? I don't see why not. It should work on any system that has Python3

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

2017-02-01 Thread Wildman via Python-list
On Wed, 01 Feb 2017 21:29:00 +, Chris Green wrote: > Wildman wrote: >> On Wed, 01 Feb 2017 19:15:13 +, Chris Green wrote: >> >> > Wildman wrote: >> >> On Wed, 01 Feb 2017 17:12:26 +, Chris Green wrote: >> >> >> >> > I'm often hitting this problem, how does one find out what package

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

2017-02-01 Thread Chris Green
Wildman wrote: > On Wed, 01 Feb 2017 19:15:13 +, Chris Green wrote: > > > Wildman wrote: > >> On Wed, 01 Feb 2017 17:12:26 +, Chris Green wrote: > >> > >> > I'm often hitting this problem, how does one find out what package to > >> > install to provide what a give import needs? > >> >

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

2017-02-01 Thread Michael Torrie
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, a

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

2017-02-01 Thread Wildman via Python-list
On Wed, 01 Feb 2017 19:15:13 +, Chris Green wrote: > Wildman wrote: >> On Wed, 01 Feb 2017 17:12:26 +, Chris Green wrote: >> >> > I'm often hitting this problem, how does one find out what package to >> > install to provide what a give import needs? >> > >> > Currently I'm modifying som

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

2017-02-01 Thread Chris Green
Wildman wrote: > On Wed, 01 Feb 2017 17:12:26 +, Chris Green wrote: > > > I'm often hitting this problem, how does one find out what package to > > install to provide what a give import needs? > > > > Currently I'm modifying some code which has 'import gtk', I want to > > migrate from Python

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

2017-02-01 Thread Wildman via Python-list
On Wed, 01 Feb 2017 17:12:26 +, Chris Green wrote: > I'm often hitting this problem, how does one find out what package to > install to provide what a give import needs? > > Currently I'm modifying some code which has 'import gtk', I want to > migrate from Python 2 to Python 3 if I can but at

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

2017-02-01 Thread Chris Green
I'm often hitting this problem, how does one find out what package to install to provide what a give import needs? Currently I'm modifying some code which has 'import gtk', I want to migrate from Python 2 to Python 3 if I can but at the moment the import fails in Python 3. There are dozens of pac