Re: [graph-tool] Boost.Python.ArgumentError: Python argument types Error
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 ! Now I'm stuck. Thanks! -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Boost-Python-ArgumentError-Python-argument-types-Error-tp4026769p4026771.html Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com. ___ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
Re: [graph-tool] Boost.Python.ArgumentError: Python argument types Error
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 std::char_traits, std::allocator >, 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 signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
[graph-tool] Boost.Python.ArgumentError: Python argument types Error
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, std::allocator >, int) Help. Thanks in advance. -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Boost-Python-ArgumentError-Python-argument-types-Error-tp4026769.html Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com. ___ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool