cannot concatenate 'str' and 'int' objects in pydot.py

42 views
Skip to first unread message

wiso

unread,
Apr 9, 2009, 2:48:18 PM4/9/09
to pydot
It's the first time I'm using pydot, I've copied the example

import pydot
edges=[(1,2), (1,3), (1,4), (3,4)]
g=pydot.graph_from_edges(edges)

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/pydot.py", line 237, in
graph_from_edges
TypeError: cannot concatenate 'str' and 'int' objects

I'm using pydot 1.0.2 and python 2.6

thanks

wiso

unread,
Apr 10, 2009, 12:02:10 PM4/10/09
to pydot
Reply all
Reply to author
Forward
0 new messages