PLEASE HELP -- TOTALLY NEW TO PYTHON
Juan Dent
juandent at mac.com
Sat Mar 26 01:31:57 EDT 2016
I am trying to run ‘python cppdep.py’ but get the following:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
analyzing dependencies among all components ...
Traceback (most recent call last):
File "cppdep.py", line 675, in <module>
main()
File "cppdep.py", line 643, in main
calculate_graph(digraph)
File "cppdep.py", line 570, in calculate_graph
(cycles, dict_node2cycle) = make_DAG(digraph, key_node)
File "/Users/juandent/Downloads/cppdep-master/networkx_ext.py", line 79, in make_DAG
for ind in range(len(subgraphs)-1, -1, -1):
TypeError: object of type 'generator' has no len()
Please, I know no python and am in a hurry to get this working… Please help
Regards,
Juan
More information about the Python-list
mailing list