|
发表于 2007-10-30 23:53:21
|
显示全部楼层
[root@MagicLinux packages]# smart-gui
Traceback (most recent call last):
File "/usr/bin/smart", line 194, in ?
main(sys.argv[1:])
File "/usr/bin/smart", line 161, in main
forcelocks=opts.ignore_locks, loglevel=opts.log_level)
File "/usr/lib/python2.4/site-packages/smart/__init__.py", line 122, in init
iface.object = createInterface(ifacename, ctrl, command, argv)
File "/usr/lib/python2.4/site-packages/smart/interface.py", line 153, in createInterface
smart = __import__("smart.interfaces."+xname)
File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/__init__.py", line 30, in ?
import gtk
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 62
sys_path = sys.path[:]
^
SyntaxError: invalid syntax
pygtk2会造成smart语法错误无法运行,这个需要解决一下哦。 |
|