-1
我正在用我的其他计算机进行项目演示时遇到此错误。它使用蟒蛇3.启动我的tkinterapp时发生Python崩溃
Windows给我这个错误,指出“pythonw.exe已停止工作”。以下是详细信息:
Problem signature:
Problem Event Name: BEX
Application Name: pythonw.exe
Application Version: 0.0.0.0
Application Timestamp: 577c1105
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 3f271bee
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 3081
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
任何人都可以解释为什么这个问题的原因?
编辑:我找到了错误的来源。这是当我包装self._framePlotter
self._framePlotter = tk.Frame(master)
self._plotter = Plotter(self._framePlotter)
self._framePlotter.pack(side=tk.LEFT, fill = tk.BOTH, expand=True)
请帮助。
你能简要介绍一下你的代码吗?具体来说,调用'mainloop' –
你有没有试过在标准的Python IDLE中运行这个命令来看看你是否得到了相同的结果?这可能是脚本相关或Anaconda相关的。 –
@EthanField在我的笔记本电脑上,它工作正常。但是,在这台计算机上,我不会测试我的代码。 编辑:(续)我在IDLE上测试过它,但它没有提供任何异常/错误。 tk.Tk()窗口会显示出来,但它会突然崩溃。 – Kucosyn