When I run a very simple code with pydot
import pydot
graph = pydot.Dot(graph_type=\'graph\')
for i in range(3):
edge = pydot.Edge(\"king\", \"lord%d\" %
I also met the problem and my pydot==1.0.28 while pyparsing==2.2.0. I fixed the problem by downloading the newest pydot 1.2.3(tar.gz)from google and then install it offline. When I updated the pydot in ubuntu 14.04, it said the pydot 1.0.28 is the newest version. Therefore I download from the google the 1.2.3 version.