【发布时间】:2019-05-17 05:00:31
【问题描述】:
我已经在 python Tkinter 中工作了几天,它运行良好,但是今天当我编写代码并尝试导入 Tkinter 模块时,如下所示:
from Tkinter import *
它向我显示了以下错误:
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: DLL load failed: The specified module could not be found.
有没有办法解决这个问题并导入 Tkinter?
【问题讨论】:
-
我建议重新安装 Python(现在包括
tkinter模块)。