Conversation
graph-tool is an efficient python module for manipulation and statistical analysis of graphs (a.k.a. networks). Contrary to most other python modules with similar functionality, the core data structures and algorithms are implemented in C++, making extensive use of template metaprogramming, based heavily on the Boost Graph Library. This confers a level of performance which is comparable (both in memory usage and computation time) to that of a pure C++ library.
Does this actually work for you? I have all the dependencies installed, but graph-tool refuses to find my |
@jtratner It does ... with a little effort.
|
I'm unable to install matplotlib:
|
Did you try following these instructions - Sometimes the other thing you need to do is symlink files so they can be |
The requirement for matplotlib ought to say you need to brew install some stuff first depending on OS. |
well, if you figure out which combination works, maybe you could write up a |
So here's my concern, if we merge this then we're going to get a ton of bug reports asking how to get it to actually work, unless we provide very clear install instructions. |
I'm going to close this due to no response from the submitter, but this software is still something we would like to package if possible. The formula will need to be updated to use an older boost (if needed; we now package older boost in the main repo) and include explicit instructions on how to "make this work", per the comments in this thread. If we don't provide instructions or an improved install, we'll certainly get lots of bug reports when we merge it. |
Any new progress on this? I'd be very interested in being able to install graph-tool via homebrew. I just gave @studer's formula a go, but with the new version of graph tool (2.2.24), and my homebrew fully updated. I had to add google-sparsehash to the dependancies. It failed with:
Unfortunately, I don't know enough about graph-tool or homebrew to fix this -- but if anyone can get graph-tool working, it'd be much appreciated. |
Okay, seems like my problems were related to this bug: http://projects.skewed.de/graph-tool/ticket/125 Using "--disable-sparsehash" seems to work, but I'm not sure what effect this will have on the functionality of graph-tool itself. Hopefully minimal? |
This formula seems to have worked for me. The only nonstandard things I had to do were downgrading boost as suggested above (14385) and pointing the default python install to the new plugins:
|
Some candidate for Mavericks (with cairo and sparsehash support) https://gist.github.com/fobdy/7976463 |
graph-tool is an efficient python module for manipulation and statistical analysis of graphs (a.k.a. networks). Contrary to most other python modules with similar functionality, the core data structures and algorithms are implemented in C++, making extensive use of template metaprogramming, based heavily on the Boost Graph Library. This confers a level of performance which is comparable (both in memory usage and computation time) to that of a pure C++ library.