victorlei / smop

Small Matlab to Python compiler
MIT License
1.08k stars 410 forks source link

AttributeError: 'DiGraph' object has no attribute 'node' #161

Open nogagshur opened 4 years ago

nogagshur commented 4 years ago

solution explained here,

https://stackoverflow.com/questions/49016596/networkx-digraph-attribute-error-self-succ/49016885#49016885

nbro commented 4 years ago

See https://github.com/victorlei/smop/issues/153.

AOE-khkhan commented 4 years ago

!pip install networkx==2.0.0 solved my problem. In fact, version <2.4.0 solve the issue so far. On the other hand, if you want to keep latest version of networkx, then just change "node" to "nodes".

GBR-613 commented 2 years ago

I suggest to close it as duplicating #165