I have installed cdlib for community detection and tried to use infomap
to get the communities from a networkx
graph
from cdlib import algorithms
import networkx as nx
G = nx.karate_club_graph()
coms = algorithms.infomap(G)
but I got this error message:
Traceback (most recent call last):
File "C:Usersadesktop", line 686, in infomap
raise ModuleNotFoundError("Optional dependency not satisfied: install package wurlitzer to use infomap.")
ModuleNotFoundError: Optional dependency not satisfied: install package wurlitzer to use infomap.
After that I installed wurlitzer
, and infomap
but the problem persists
question from:
https://stackoverflow.com/questions/66065773/how-to-use-infomap-community-detection-using-cdlib 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…