[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:
>     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.

Best,
Tiago

-- 
Tiago de Paula Peixoto <tiago at skewed.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20161018/6480ca6c/attachment.asc>


More information about the graph-tool mailing list