blaze / odo

Data Migration for the Blaze Project
http://odo.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
1.01k stars 138 forks source link

AttributeError: 'DiGraph' object has no attribute 'edge' - when trying to use odo #615

Closed bwhitby closed 5 years ago

bwhitby commented 6 years ago

I'm trying to use odo and i'm getting the above error message. Down grading networkx seems to be one suggest solution, but is proving to be a hassle? When will odo work with networkx 2.1? Or is there another cause/ fix.

thanx

groutr commented 6 years ago

Odo will not work with NetworkX >=2.0. To use the latest released version of odo, you need to downgrade to an earlier version of networkx (pre 2.0)

sorenwacker commented 6 years ago

Will this be fixed in future versions of odo? And which version of networkx would you recommend?

groutr commented 6 years ago

@soerendip I'd use the latest 1.x version of networkx (1.11 I think). I submitted a PR that fixes this, but I don't know who maintains this library.