[英]“Read_Ncol” exit with error code -1073740791
I am using python 3.5.3 and igraph 0.7.1. 我正在使用python 3.5.3和igraph 0.7.1。
Why the following code finishes with "Process finished with exit code -1073740791 (0xC0000409)"
error message. 为什么以下代码以
"Process finished with exit code -1073740791 (0xC0000409)"
错误消息"Process finished with exit code -1073740791 (0xC0000409)"
。
from igraph import Graph
g = Graph.Read_Ncol('test.csv', directed=False)
test.csv test.csv
119 205
119 625
124 133
124 764
124 813
55 86
55 205
55 598
133 764
The Read_Ncol function reads files in NCOL format, as produced by the Large Graph Layout program. Read_Ncol函数读取由大图布局程序生成的NCOL格式的文件。
Your example works fine for me, also on Python 3.5.3 with igraph 0.7.1. 您的示例对我来说也很好,在使用igraph 0.7.1的Python 3.5.3上也可以。
>>> g = Graph.Read_Ncol('test.csv', directed=False)
>>> g
<igraph.Graph object at 0x10c4844f8>
>>> print(g)
IGRAPH UN-- 10 9 --
+ attr: name (v)
+ edges (vertex names):
119--205, 119--625, 124--133, 124--764, 124--813, 55--86, 205--55, 55--598,
133--764
It seems the error C0000409 means "Stack Buffer Overrun" on Windows, which probably means that your program is writing outside of the space allocated on the stack (it's different from a stack overflow, according to this Microsoft Technet Blog .) 似乎错误C0000409在Windows上表示“堆栈缓冲区溢出”,这可能意味着您的程序正在超出堆栈上分配的空间进行写入( 根据此Microsoft Technet Blog的说法,这与堆栈溢出不同)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.