PLEASE HELP -- TOTALLY NEW TO PYTHON
Ned Batchelder
ned at nedbatchelder.com
Sat Mar 26 07:51:51 EDT 2016
More information about the Python-list mailing list
Sat Mar 26 07:51:51 EDT 2016
- Previous message (by thread): PLEASE HELP -- TOTALLY NEW TO PYTHON
- Next message (by thread): PLEASE HELP -- TOTALLY NEW TO PYTHON
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Saturday, March 26, 2016 at 5:59:30 AM UTC-4, Juan Dent wrote: > 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 It looks like you are not the first to encounter this: https://github.com/yuzhichang/cppdep/issues/2 I don't see a quick fix to this in the code. If you fix this one spot, likely there will be other problem. It looks to me like you should install NetworkX 1.7 to get it to work. --Ned.
- Previous message (by thread): PLEASE HELP -- TOTALLY NEW TO PYTHON
- Next message (by thread): PLEASE HELP -- TOTALLY NEW TO PYTHON
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list