Am 02.05.20 um 06:09 schrieb Narges: > Thank you so much. It is solved. My mistake was that I wrote 'conda > deactivate' in the home directory instead of the code's directory. But now > it shows another error. When I run my code, it shows this error: > > Traceback (most recent call last): > File "GirvanIgraph.py", line 18, in <module> > igraph_graph = pyintergraph.gt2igraph(graph_tool_graph, > labelname="node_label") > File > "/home/narges/.local/lib/python3.6/site-packages/pyintergraph/funcs.py", > line 17, in gt2igraph > return G.to_igraph() > File > "/home/narges/.local/lib/python3.6/site-packages/pyintergraph/Graph.py", > line 289, in to_igraph > iG.vs[i].update_attributes(name=self.node_labels[node], **attr) > TypeError: update_attributes() got multiple values for keyword argument > 'name'
Whenever reporting problems, just pasting the error message without any context is not very useful, since it becomes pure guesswork. Instead, you should provide a *minimal* and *self-contained* program that reproduces the problem you are encountering. Otherwise we cannot help. (Just guessing from the traceback, this seems to be triggered by the "pyintergraph' package rather than graph-tool, in which case this would be the wrong mailing list to ask.) Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
