I'm running anaconda on a redhat 7.4 linux box and when I try to generate a graph with text on the vertices. I get the error below: /opt/anaconda5.3.0-2.7/envs/GraphTool366_102318/bin/python3: symbol lookup error: /opt/anaconda5.3.0-2.7/envs/GraphTool366_102318/lib/python3.6/site-packages/graph_tool/draw/libgraph_tool_draw.so: undefined symbol: _ZN5Cairo7Context16select_font_faceERKSsNS_9FontSlantENS_10FontWeightE
The code below is what's being used gt.graph_draw(gMol, pos = pos, edge_pen_width = weightProp, vertex_font_family = 'serif', edge_color = weightProp, vertex_size = vSize, vertex_fill_color = countProp, vertex_text = keywordProp, output_size = (1000,1000), output = '~/myGraph.png')
Any ideas?
-- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
Am 21.01.19 um 19:10 schrieb MrDistortion:
I'm running anaconda on a redhat 7.4 linux box and when I try to generate a graph with text on the vertices. I get the error below: /opt/anaconda5.3.0-2.7/envs/GraphTool366_102318/bin/python3: symbol lookup error: /opt/anaconda5.3.0-2.7/envs/GraphTool366_102318/lib/python3.6/site-packages/graph_tool/draw/libgraph_tool_draw.so: undefined symbol: _ZN5Cairo7Context16select_font_faceERKSsNS_9FontSlantENS_10FontWeightE
The missing symbol is probably due to incorrect compilation, or a problem with the cairomm library. It's not really a bug in graph-tool. You need to contact the maintainer of the anaconda package you are using, and ask them to fix this problem.
Best, Tiago