Python ImportError: No module named 'Tkinter'问题
运行 from Tkinter import * 的时候,提示ImportError: No module named 'Tkinter'
只要把大写改成小写就好了。
from tkinter import *
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 01:25:11)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> from Tkinter import *
Traceback (most recent call last):
File "", line 1, in
from Tkinter import *
ImportError: No module named 'Tkinter'
>>> from tkinter import *
>>>
原创