PyGTK question

Michael Hudson mwh at python.net
Mon Nov 4 08:46:18 EST 2002


Tom <bondpaper at earthlink.net> writes:

> In article <m2bs5c9hla.fsf at python.net>, Michael Hudson <mwh at python.net> 
> wrote:
> 
> > Tom <bondpaper at earthlink.net> writes:
> > 
> > > Thanks for your help. If I compile it from source (pygtk2-1.99.10-1), 
> > > wouldn't it check for a version of python that is compatible when 
> > > running the ./configure script? 
> > 
> > God knows.  You'd have thought so, but it doesn't look like it.
> > 
> > The problem you're having is that the gtk DSO seems to be looking for
> > a wide unicoode build of Python whereas the Python you're running is
> > built for narrow unicode.
> > 
> > How many versions of Python do you have on your machine?
> 
> I have two at the moment...1.5 and 2.2. However, I have recently 
> downloaded (but not yet installed) 2.1 to see if I get different 
> results.

It's possible the pygtk configure script is finding Python 1.5, not
2.2.  Or it found 2.2 but you're trying to use it with 1.5.

Cheers,
M.

-- 
40. There are two ways to write error-free programs; only the third
    one works.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html



More information about the Python-list mailing list