Skip to content

Specify pydot version in build script#154

Open
seekamoon wants to merge 1 commit intoaflgo:masterfrom
seekamoon:patch-1
Open

Specify pydot version in build script#154
seekamoon wants to merge 1 commit intoaflgo:masterfrom
seekamoon:patch-1

Conversation

@seekamoon
Copy link
Copy Markdown

The latest pydot is incompatible with networkx and raising the following error when trying the ./libxml2-ef709ce2.sh example:

Traceback (most recent call last): 
File "/aflgo/distance/distance_calculator/distance.py", line 115, in <module> G = nx.DiGraph(nx.drawing.nx_pydot.read_dot(args.dot)) 
File "/usr/local/lib/python3.10/dist-packages/networkx/utils/decorators.py", line 788, in func return argmap._lazy_compile(__wrapper)(*args, **kwargs) 
File "<class 'networkx.utils.decorators.argmap'> compilation 6", line 5, in argmap_read_dot_1 
File "/usr/local/lib/python3.10/dist-packages/networkx/utils/backends.py", line 967, in __call__ return self.orig_func(*args, **kwargs) 
File "/usr/local/lib/python3.10/dist-packages/networkx/drawing/nx_pydot.py", line 81, in read_dot return from_pydot(P_list[0]) 
File "/usr/local/lib/python3.10/dist-packages/networkx/utils/decorators.py", line 788, in func return argmap._lazy_compile(__wrapper)(*args, **kwargs) 
File "<class 'networkx.utils.decorators.argmap'> compilation 10", line 3, in argmap_from_pydot_7 
File "/usr/local/lib/python3.10/dist-packages/networkx/utils/backends.py", line 967, in __call__ return self.orig_func(*args, **kwargs) 
File "/usr/local/lib/python3.10/dist-packages/networkx/drawing/nx_pydot.py", line 109, in from_pydot if P.get_strict(None): # pydot bug: get_strict() shouldn't take argument 
TypeError: Graph.get_strict() takes 1 positional argument but 2 were given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant