ImportError: No module named _tkinter, please install the python-tk package ubuntu运行tkinter错误
2015-11-06 15:09
621 查看
这是由于python的版本没有包含tkinter的模块,只需要把tk的package安装就可以了。 一般在linux才出现,windows版本一般已经包含了tkinter模块。
原文: linux python缺少tkinter模块
apt-get install python-tk
原文: linux python缺少tkinter模块
相关文章推荐
- 笨办法学 Python (Learn Python The Hard Way)
- 2015/11/6用Python写游戏,pygame入门(6):控制大量的对象
- view里的一些方法
- python-异常处理
- python-I/O-文件操作
- python-模块
- python-函数
- python-continue
- python-pass
- python-break循环中断
- python列表去重 冒泡排序 插序排序
- python-嵌套循环
- python-for循环
- python-while循环
- python-字典
- python-元组
- python-list列表
- python-字符串
- python-数字
- python-运算符