What could cause NetworkX & PyGraphViz to work fine alone but not together?
问题 I'm working to learning some Python graph visualization. I found a few blog posts doing some things I wanted to try. Unfortunately I didn't get too far, encountering this error: AttributeError: 'module' object has no attribute 'graphviz_layout' The simplest snip of code which reproduces the error on my system is this, In [1]: import networkx as nx In [2]: G=nx.complete_graph(5) In [3]: nx.draw_graphviz(G) ------------------------------------------------------------ AttributeError Traceback