[graph-tool] Boost.Python.ArgumentError: Python argument types Error
Tiago de Paula Peixoto
tiago at skewed.de
Tue Oct 18 23:05:13 CEST 2016
On 18.10.2016 18:55, reckoner wrote:
> 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:
> 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.
Tiago de Paula Peixoto <tiago at skewed.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the graph-tool