I am new user of python and networks, I have trouble to read some data from .gml file My IDE is Spyder,Anaconda,and OS is macOS is I follow the instruction online ,here is my code ,here is the Dataset
import networkx as nx
import matplotlib.pyplot as plt
G = nx.Graph()
G = nx.read_gml('karate.gml')
print (nx.info(G))
then the complier shows "node #0 has no 'label' attribute". How could it happens