Python 启动我的 tkinterapp 时崩溃
Python crashing when launching my tkinterapp
我将用于项目演示的另一台计算机出现此错误。它正在使用 Anaconda 3.
Windows 给我这个错误,说明 "pythonw.exe has stopped working"。详情如下:
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)
请帮忙。
我找到了解决方案 here:
基本上,卸载anaconda中的matplotlib
conda uninstall matplotlib
然后pip安装:
pip install matplotlib
那就修好了
我将用于项目演示的另一台计算机出现此错误。它正在使用 Anaconda 3.
Windows 给我这个错误,说明 "pythonw.exe has stopped working"。详情如下:
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)
请帮忙。
我找到了解决方案 here:
基本上,卸载anaconda中的matplotlib
conda uninstall matplotlib
然后pip安装:
pip install matplotlib
那就修好了