I try to run this code:
from cdlib import algorithms
import networkx as nx
G = nx.karate_club_graph()
coms = algorithms.louvain(G, resolution=1., randomize=False)
but the error remains the same. I have tried all options given by AttributeError: module 'networkx.algorithms.community' has no attribute 'best_partition'
but it doesn't work.
Also, I'm working in Google Colab and I have installed cdlib.
