windows下使用Python出现No module named tkinter.ttk

Posted 乔海权_429512***杭州

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows下使用Python出现No module named tkinter.ttk相关的知识,希望对你有一定的参考价值。

1. 编辑工具使用Pycharm,windows平台,运行的时候报错误

2. 目前用的是Python2.7版本,对比了一下已有的库,名字不太一样,因此换成Python3.6的测试一下暂时没这个问题了。

3. 安装python3.6版本,添加到目前的工程里面文件默认设置

以上是关于windows下使用Python出现No module named tkinter.ttk的主要内容,如果未能解决你的问题,请参考以下文章

Windows下使用Python的Curses库时 No module named _curses问题

Python爬虫AttributeError: ‘WebDriver‘ object has no attribute ‘switch_to_window‘

Python爬虫AttributeError: ‘WebDriver‘ object has no attribute ‘switch_to_window‘

window下编写python脚本在linux下运行出错 usr/bin/python^M: bad interpreter: No such file or directory

windows下 python中报错ImportError: No module named 'requests'

在使用ubuntu16.04+python3.5 下使用pip3出现pip3 error - '_NamespacePath' object has no attribute '