Closed Aaron1993 closed 3 years ago
Hi. yifan, sorry to disturb you again. There is a error AttributeError: 'Graph' object has no attribute 'selfloop_edges' in utils.py: G.remove_edges_from(G.selfloop_edges()), How can i to solve it? Thanks.
AttributeError: 'Graph' object has no attribute 'selfloop_edges'
G.remove_edges_from(G.selfloop_edges())
Hi Aaron,
this is also a version issue of networkx. You may check it here and try "G.remove_edges_from(nx.selfloop_edges(G))".
Hi. yifan, sorry to disturb you again. There is a error
AttributeError: 'Graph' object has no attribute 'selfloop_edges'
in utils.py:G.remove_edges_from(G.selfloop_edges())
, How can i to solve it? Thanks.