leelasd / ligpargen

A repository for tutorials and FAQ's about LigParGen
http://traken.chem.yale.edu/ligpargen/
20 stars 17 forks source link

networks version causing 'node' attribute error #61

Open punkpony opened 4 years ago

punkpony commented 4 years ago

Hi!

Getting this error:

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

I am running with python 3.8 and networkx 2.4

looks like needs a patch to be 'nodes' https://networkx.github.io/documentation/stable/release/release_2.4.html

LIVazquezS commented 3 years ago

It works if you install the version 1.11 of networkx you can do it from here:

https://www.researchgate.net/post/How_to_install_networkx_111_in_linux

but also be careful cause the late versions of Pandas will give you an error, so keep it on version 0.25.1 .