python3 : module 'networkx' has no attribute 'connected_component_subgraphs' on linkfail
Traceback (most recent call last):
File "/home/runarb/devel/PyMetric-scm/metrics.py", line 45, in <module>
cli.cmdloop()
File "/home/runarb/devel/PyMetric-scm/command.py", line 65, in cmdloop
Cmd.cmdloop(self)
File "/usr/lib/python3.6/cmd.py", line 139, in cmdloop
stop = self.postcmd(stop, line)
File "/home/runarb/devel/PyMetric-scm/command.py", line 88, in postcmd
components = list(nx.connected_component_subgraphs(
AttributeError: module 'networkx' has no attribute 'connected_component_subgraphs'```
on networkx-2.4
Edited by Runar Borge