|
redhat-config-packages,gdeskcal不能用了
出错信息如下:
[root@MyRedhat glade-2.0.1]# redhat-config-packages
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 14, in ?
import gtk.glade
ImportError: No module named glade
[root@MyRedhat glade-2.0.1]# gdeskcal
Traceback (most recent call last):
File "/usr/bin/gdeskcal", line 4, in ?
import pygtk; pygtk.require("2.0")
File "/usr/local/lib/python2.3/site-packages/pygtk.py", line 47, in require
versions = _get_available_versions()
File "/usr/local/lib/python2.3/site-packages/pygtk.py", line 34, in _get_available_versions
for filename in os.listdir(dir):
OSError: [Errno 2] No such file or directory: '/usr/local/lib/python23.zip'
[root@MyRedhat glade-2.0.1]# python
python python2 python2.2 python2.3
[root@MyRedhat glade-2.0.1]# pygtk-codegen-
pygtk-codegen-1.2 pygtk-codegen-2.0
[root@MyRedhat glade-2.0.1]#
python,pygtk,glade重新装过,是不是版本不对应? |
|