Linux中在加载tkinter模块时,报:ImportError: No module named Tkinter
由于没有加载tkinter的原因
terminal中安装tkinter
yum -y install tkinter
Installed:
tkinter.x86_64 0:2.6.6-37.el6_4
Dependency Installed:
tcl.x86_64 1:8.5.7-6.el6 tix.x86_64 1:8.4.3-5.el6 tk.x86_64 1:8.5.7-5.el6
Dependency Updated:
python.x86_64 0:2.6.6-37.el6_4 python-libs.x86_64 0:2.6.6-37.el6_4
Complete!
Tkinter安装成功