|
发表于 2004-2-19 11:11:29
|
显示全部楼层
Q: Why do a I get the error "ImportError: No module named XXX"
A: gdesklets requires pygtk 2.0.0 and gnome-python2-2.0.0.
Note that gnome-python2 binaries may be split up into multiple files (gnome-python2-gconf, etc...), if so you really need the main one (no - anything), -gconf -gtkhtml2, -bonobo, and -gnomevfs. Can't hurt to install the rest
You can get prebuilt binaries for RH here: http://people.ecsc.co.uk/~matt/repository.html
If you are building gnome-python2 from source, make sure that you have the development libraries for GConf2, libbonobo, libbonoboui, gtkhtml2, gnome-vfs2, libgnome, libgnomeui, (I am probably missing some others here). And after running the configure script, make sure that it reports that it will build the binary modules listed above. |
|