I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus
.
import networkx as nx
from networkx.drawing.nx_pydot import write_dot
G = nx.DiGraph([(1,2),(2,3),(3,2)])
write_dot(G,'file.dot')
It clearly that I should install pydotplus
package. I try to conda install pydotplus
directly but says Error: Package missing in current win-64 channels
. Then, I google it but find there is no information about how to install it on conda. By the way, I have install pydot
on conda before.
Thanks for you help in advance!