On Mon, Jul 01, 2002 at 11:24:35AM +0200, Roberto Cavada wrote:
> Hi all, 
>   this scribble.py example (in pygtk-1.99.10/examples/simple dir) does 
> not work if I invoke the python2.2.[01] interpreter (see error report 
> below.)
> The same example can be loaded if the python interpreter is version 
> 2.1, but it does not work anyway: only an empty window with a button 
> in the bottom appears. 

Firstly, where did you install pygtk? If it has gone under
/usr/lib/python2.1/site-packages, for example, then python2.2 will have
no chance of finding it.

Basically, as you move from Python version to Python version, your
binary modules will need to be recompiled against the correct libraries
and so they are installed in a version-specific prefix to partially
enforce that. So select the version of python you are going to run,
build against that and go for it.

Secondly, the scribble.py example was only recently updated in CVS to
work with the current pygtk code (on June 23, to be precise). If release
1.99 was done before then, I wouldn't have expected it to work at all,
since a lot of the names of things (and their namespaces) have changed
since the GTK 1 days.

Hoping this is of some help,
Malcolm
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to