Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105733
| From | Juan Dent <juandent@mac.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | PLEASE HELP -- TOTALLY NEW TO PYTHON |
| Date | 2016-03-25 23:31 -0600 |
| Message-ID | <mailman.23.1458986352.28225.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
PLEASE HELP -- TOTALLY NEW TO PYTHON Juan Dent <juandent@mac.com> - 2016-03-25 23:31 -0600 Re: PLEASE HELP -- TOTALLY NEW TO PYTHON Ned Batchelder <ned@nedbatchelder.com> - 2016-03-26 04:51 -0700 Re: PLEASE HELP -- TOTALLY NEW TO PYTHON Steven D'Aprano <steve@pearwood.info> - 2016-03-26 22:52 +1100
csiph-web