leelasd / ligpargen

A repository for tutorials and FAQ's about LigParGen

Home Page:http://traken.chem.yale.edu/ligpargen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

networks version causing 'node' attribute error

punkpony opened this issue · comments

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

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 .