Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with latest networkx #1

Open
GoogleCodeExporter opened this issue Apr 9, 2016 · 5 comments
Open

Incompatible with latest networkx #1

GoogleCodeExporter opened this issue Apr 9, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

When using the functions from booleannet.network I get an error that networkx 
is not present. However this is false as I do have networkx properly installed. 
I found the source of the problem: in booleannet's 'network.py' file it uses

-----------------
from networkx import component
-----------------


However, networkx has no "component" name, but it does have "components". I am 
running the latest version of networkx (as of late October), so perhaps they 
have changed it recently. Anyway, the first is simple

-----------------
from networkx import components as component
-----------------

and then I reinstalled booleannet to python and everything worked fine.

Jason Wittenbach
PhD Candidate
Department of Physics
Penn State Unviersity
juw217@psu.edu

Original issue reported on code.google.com by Jason.Wi...@gmail.com on 11 Nov 2011 at 6:53

@GoogleCodeExporter
Copy link
Author

Yes I am aware of this, the networkx library has changed its API several times 
and we need to play catchup.

We usually fix things up in spurts, once every half year. Probably early 2012.

Original comment by istvan.a...@gmail.com on 11 Nov 2011 at 12:10

@GoogleCodeExporter
Copy link
Author

[deleted comment]

2 similar comments
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

When the script "BooleanNet-1.2.8/examples/samples/singlepick.py" is run the 
following error occurs, 
"*** error: networkx is missing, install it from https://networkx.lanl.gov/"

I tried to fix this bug by using,
"from networkx import components as component" in the network.py script and 
reinstall BooleanNet.

But this doesn't solve the issue.

Could some one advise on how to get rid of this bug?

PS. I removed some of my previous comments and edit this one.

Original comment by gabbyt...@gmail.com on 26 Feb 2015 at 2:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant