I'm trying to build graph-tool on Ubuntu 16 using anaconda Python and I did
managed to get it compiled, but I get the following error on import.
return libcore.openmp_set_schedule(schedule, chunk)
Boost.Python.ArgumentError: Python argument types in
graph_tool.libgraph_tool_core.openmp_set_schedule(str, int)
did not match C++ signature:
openmp_set_schedule(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, int)
This probably means that you used a different Python version when compiling
boost-python. If you are using ubuntu and anaconda, it is likely that
boost-python is linked against the system's version of Python, not anaconda's.
I removed all the system boost libraries and installed conda install boost.
After configure, which I verified is linking to the anaconda boost,
checking for boostlib >= 1.54.0... yes
checking whether the Boost::Python library is available... yes
checking whether boost_python is the correct library... yes
checking whether the Boost::IOStreams library is available... yes
configure: error: Could not link against boost_python !