On 14.07.2015 17:53, MichaelB wrote:
I try to import graph-tool in Python 2.7 with
/from graph_tool.all import */
Each time I execute the above command the following error is returned and Python crashes.
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost6python6detail11init_moduleEPKcPFvvE Referenced from: /usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so Expected in: flat > namespace
dyld: Symbol not found: __ZN5boost6python6detail11init_moduleEPKcPFvvE Referenced from: /usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so Expected in: flat namespace
Trace/BPT trap: 5
I installed graph-tool using homebrew on Mac OSX 10.10. Does anyone what's going on here?
There is probably a mismatch between the python version you are using, and the one used to compile boost::python and graph-tool. For example, you might be using the system's python, whereas graph-tool/python were compiled with a version installed via homebrew. If you are still having trouble, open an issue at the homebrew project page. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>