Skip to content

Instantly share code, notes, and snippets.

@v-pravin
Last active April 10, 2020 14:18
Show Gist options
  • Save v-pravin/949fc18d58a560cf85d2 to your computer and use it in GitHub Desktop.
Save v-pravin/949fc18d58a560cf85d2 to your computer and use it in GitHub Desktop.
Installation of graph-tool from source

INSTALLATION OF GRAPH-TOOL FROM SOURCE

System
Requirements as given under - http://graph-tool.skewed.de/download
  1. GCC, version 4.8 or above (version 4.9 is recommended). For MacOS X, the clang compiler is required.
    • sudo apt-get install gcc-4.8
  2. The Boost libraries, version 1.54 or above.
  3. Python version 2.7 or 3 and above.
    • bash Anaconda-2.1.0-Linux-x86_64.sh
  4. The expat library.
  5. The SciPy python module.
    • Included in Anaconda's Python distribution (conda list | grep numpy)
  6. The Numpy python module.
    • Included in Anaconda's Python distribution (conda list | grep scipy)
  7. The CGAL C++ geometry library, version 3.5 or above.
  8. The sparsehash template library (optional, but recommended).
  9. The cairomm, pycairo and matplotlib libraries, used for graph drawing (optional).
  10. The Graphviz packaged for graph drawing, with the python bindings enabled (optional, deprecated).
    • I am not installing this as it is optional.
Download graph-tool

DONE

@josemarfdc
Copy link

@jbrant according to graph-tool's developer, it doesn't work on windows. The solution this user found was to install Linux http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Error-installing-graph-tool-on-windows-td4024889.html

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