求助:idle运行不了

Python/PHP/Perl 开发与设计
回复
RunningOn
帖子: 71
注册时间: 2006-03-18 14:17
来自: 9#
送出感谢: 0
接收感谢: 0
联系:

求助:idle运行不了

#1

帖子 RunningOn » 2006-09-24 11:39

Ubuntu dapper
idle, python, python-tk都是直接apt-get的

运行idle后错误如下:
Traceback (most recent call last):
File "/usr/bin/idle", line 5, in ?
main()
File "/usr/lib/python2.4/idlelib/PyShell.py", line 1350, in main
root = Tk(className="Idle")
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1569, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: this isn't a Tk applicationunknown color name "Black"


运行自己写的GUI程序也是提示this isn't a Tk appilcationknown ...
这是怎么回事呀?请指教。
回复

回到 “Python/Php/Perl”