Process finished with exit code -1073741819 (0xC0000005)


I'm trying to build a graph from it's adjacency matrix using igraph package in python.

My matrix(800*800) is a text file. My code is as below, but I don't know why it keeps exiting with code -1073741819 (0xC0000005)

import igraph
adjacencyFile = open("AdjacencyMatrix.txt",'r')
graph = igraph.Graph.Read_Adjacency(adjacencyFile, sep=None, comment_char='#', attribute=None)
asked on Stack Overflow Jul 27, 2015 by Mahleqa Sedqi • edited Jul 27, 2015 by Evan Carslake

1 Answer


The problem was setting the attribute option to None, because I had some weights considerably large in the graph and it couldn't set so many edges for them.

answered on Stack Overflow Jul 30, 2015 by Mahleqa Sedqi

User contributions licensed under CC BY-SA 3.0