如何调试错误“pythonw.exe已停止工作”

时间:2017-10-03 11:51:33

标签: python spyder

我正在研究一种分析某些数据的代码。 数据按顺序加载到for循环中并进行分析。 在某些时候,我收到以下消息

enter image description here

每次使用不同的数据时都会发生这种情况...例如第一次分析文件31,然后分析文件2

('Found ', 310, ' files')
Analyzing file:  0
Analyzing file:  1
Analyzing file:  2
Analyzing file:  3
Analyzing file:  4
Analyzing file:  5
Analyzing file:  6
Analyzing file:  7
Analyzing file:  8
Analyzing file:  9
Analyzing file:  10
Analyzing file:  11
Analyzing file:  12
Analyzing file:  13
Analyzing file:  14
Analyzing file:  15
Analyzing file:  16
Analyzing file:  17
Analyzing file:  18
Analyzing file:  19
Analyzing file:  20
Analyzing file:  21
Analyzing file:  22
Analyzing file:  23
Analyzing file:  24
Analyzing file:  25
Analyzing file:  26
Analyzing file:  27
Analyzing file:  28
Analyzing file:  29
Analyzing file:  30
Analyzing file:  31

Kernel died, restarting



Kernel died, restarting



Kernel died, restarting



Kernel died, restarting



Kernel died, restarting



Kernel died, restarting



Kernel died, restarting




runfile('C:/Users/Gab/pipeline.py', wdir='C:/Users/Gab')
('Found ', 310, ' files')
Analyzing file:  0
Analyzing file:  1
Analyzing file:  2

Kernel died, restarting

我正在使用python 2.7和spyder ...你对如何调试这个错误有任何线索吗?我没有得到任何控制台消息......

0 个答案:

没有答案