橙子饺子

ImportError: No module named _tkinter, please install the python-tk package ubuntu运行tkinter错误


这是由于Python的版本没有包含tkinter的模块,只需要把tk的package安装就可以了。 一般在Linux才出现,windows版本一般已经包含了tkinter模块。


apt-get install python-tk


原文: linux python缺少tkinter模块

posted on 2017-08-22 20:12  九月里天高云淡  阅读(305)  评论(0编辑  收藏  举报

导航