'Graph' object has no attribute 'add_weight_edges_from'

python2是add_weight_edges_from(),python3改成了add_weighted_edges_from()

 

你可能感兴趣的:(❤️,debug之路)