启动我的tkinterapp时Python崩溃了

时间:2017-09-12 03:59:48

标签: windows tkinter anaconda python-3.4

我在我的其他计算机上遇到此错误,我将用于我的项目演示。它使用的是Anaconda 3。

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)

请帮忙。

1 个答案:

答案 0 :(得分:0)

我找到了解决方案here

基本上,卸载anaconda中的matplotlib

conda uninstall matplotlib

然后pip安装它:

pip install matplotlib

然后它被修复了。

相关问题