python AttributeError: module ‘networkx‘ has no attribute ‘pagerank_scipy‘

AttributeError: module ‘networkx’ has no attribute ‘pagerank_scipy’

我是由于networkx 过高出现这个BUG。解决方法是降级安装networkx 2.8

pip install networkx==2.8

你可能感兴趣的:(BUG,python)