LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 706|回复: 2

gdesklets启动错误

[复制链接]
发表于 2003-12-29 20:19:16 | 显示全部楼层 |阅读模式
错误信息如下:
Traceback (most recent call last):
  File "/usr/bin/gdesklets", line 4, in ?
    from main import HOME
  File "/usr/share/gdesklets/main/__init__.py", line 41, in ?
    import gnome.ui
ImportError: No module named gnome.ui
发表于 2004-2-19 09:47:02 | 显示全部楼层
up
发表于 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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表