Thanks for the help so far,. but I still have not had success.
Starting from a stock RedHat 8.0 system, have downloaded and installed:

pygtk-0.6.11
pygtk-1.99.13 (shouldn't that be pygtk2-1.99.13?)

but cannot find "gnome-python-1.4.4" anywhere, as stated in the
pygtk FAQ section 2.1.

I have munged my module path to include the new pygtk-0.6.11 which
installs in /usr/local/lib/python2.2/site-packages by adding the line:

path.append("/usr/local/lib/python2.2/site-packages")

This then gives the error:

File "/usr/local/lib/python2.2/site-packages/pygtk.py", line 44, in require
assert not sys.modules.has_key('gtk'), \
AssertionError: pygtk.require() must be called before importing gtk

Without the "path.append" line, it gives "unknown module pygtk"

Turning on verbose stuff, it looks like module "sys" loads gtk as a built-in.

-Don Radick





_______________________________________________
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