关于解决AttributeError: module 'networkx' has no attribute 'Graph'

在这里插入图片描述刚跟着老师学习复杂网络 用pycharm networkx画图 安装了networkx之后 运行程序一直出现这个问题 搜索了好久尝试各种发放 终于找到解决方案
AttributeError: module ‘networkx’ has no attribute ‘Graph’
附上大佬的链接 https://blog.csdn.net/Tan_HandSome/article/details/82661420 !!!

猜你喜欢

转载自blog.csdn.net/qinghuan_/article/details/83243349