Closed hmedina closed 6 years ago
The second exception (TypeError: 'NodeView' object does not support item assignment) is related to the fact that at the moment ReGraph is implemented using NetworkX v1, and I think you have NetworkX v2 installed. In the second version the result of graph.node[node_id]
is not a dictionary object (as in v1), but a 'NodeView' object. Please, try to check which version of nx you have installed, try to downgrade it to v1, and tell me if both errors persist.
I had the latest stable release of NetworkX, version 2.1 After uninstalling v2.1 to force loading of the already installed v1.11, I get no errors.
Side note, is there a way of making ReGraph call the legacy version of NetworkX, if multiple are installed? ReGraph's setup.py file correctly states the dependency as 1.11, so pip handles the installation correctly.
I get an error when trying to import Kami Hierarchy. For both Kami and ReGraph, I am on branch master and up to date (as of this posting).
As this is a Kami call, I'm filing it here, even though all the errors arise on ReGraph calls. If this should be posted to the ReGraph issues page, kindly let me know.