You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import community
part = community.best_partition(g)
mod = community.modularity(part,g)
AttributeError: module 'community' has no attribute 'best_partition'
Any solution for this?
(Would you consider rename the module as per the pip install distribution - or from networkx import louvain ? )
The text was updated successfully, but these errors were encountered:
I installed it on jupyter, but failed to import:
Any solution for this?
(Would you consider rename the module as per the pip install distribution - or from networkx import louvain ? )
The text was updated successfully, but these errors were encountered: