Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An error about graph-tool #5

@wenzl1337

Description

@wenzl1337

When I run pyseg_system/code/tests/tracing_grid.sh, there's an error

./tracing_grid.sh
python ../pyseg/scripts/tests/mcf_synthetic_test.py do_short
/home/wenzl/programs/pyseg_system-master/sys/soft/miniconda2/lib/python2.7/site-packages/graph_tool/all.py:40: RuntimeWarning: Error importing draw module, proceeding nevertheless: /home/wenzl/programs/pyseg_system-master/sys/soft/miniconda2/lib/python2.7/site-packages/graph_tool/draw/libgraph_tool_draw.so: undefined symbol: _ZN5Cairo7Context9show_textERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
warnings.warn(msg, RuntimeWarning)
^CTraceback (most recent call last):
File "../pyseg/scripts/tests/mcf_synthetic_test.py", line 12, in
from pyseg.scripts import mcf_graph
File "/home/wenzl/programs/pyseg_system-master/code/pyseg/init.py", line 12, in
import disperse_io
File "/home/wenzl/programs/pyseg_system-master/code/pyseg/disperse_io/init.py", line 11, in
from disperse_io import *
......

I find there's something wrong with pyseg_system-master/sys/soft/miniconda2/lib/python2.7/site-packages/graph_tool/all.py., which contains a command: from graph_tool.draw import *. As I type this command in python, the same error as above would happen. How can i solve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions