So, is import pygtk required or not for pygtk2? On Tue, Dec 31, 2002 at 04:25:41PM +0100, Martijn Brouwer wrote: > That was what I understood from the faq too, however it seems that 1.99 requires >importation of pygtk before gtk even when only one version of pygtk is installed. > I have python 2.2 with gnome-python 1.99.13. On my system (debian testing) >gnome-python 1.4 based on pygtk 0.69.3 is installed in combination with python 2.1. >(in python2.1/site-packages) > > On Sun, 29 Dec 2002 15:55:04 -0800 > John Finlay <[EMAIL PROTECTED]> wrote: > > > My understanding is that this is only required if you have both PyGTK > > 0.6.11 and > PyGTK 1.99.13 installed together. > > Are there other circumstances where this is required? > > > > Thanks > > > > john > > > > Martijn Brouwer wrote: > > > > >On Sat, 28 Dec 2002 23:18:30 +0100 > > >Tom Cato Amundsen <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > >>>ImportError: No module named gtk > > >>> > > >>> > > >>> > > >>I guess you forgot to > > >>import pygtk > > >>pygtk.require("2.0") > > >> > > >>before "import gtk" > > >> > > >> > > > > > >No I did not forget it, I just did not know I had to. :) Now I read something >about it in a section of the faq I skipped because I was not upgrading from an >earlier version. This issue is not in John Finlay's tutorial though allthough the >tutorial is dated from 1 december. I will drop him a kind notice. > > > > > >Thanks for your help! > > > > > >Martijn > > >_______________________________________________ > > >pygtk mailing list [EMAIL PROTECTED] > > >http://www.daa.com.au/mailman/listinfo/pygtk > > >Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > > > > > > > > > > > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/