Skip to content

graphviz error #25

@gattia

Description

@gattia

Describe the bug
Using the current install instructions leads to an error from graphviz.

To Reproduce
python train_net.py --config-file path/to/config

error:

Warning: Could not load "/dataNAS/people/aagatti/miniconda/envs/medsegpy_env/lib/graphviz/libgvplugin_pango.so.6" - file not found\nWarning: Could not load "/dataNAS/people/aagatti/miniconda/envs/medsegpy_env/lib/graphviz/libgvplugin_pango.so.6" - file not found\nFormat: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pdf pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 xdot_json\n'

Solution
The following conda install command fixes this error:

conda install -c conda-forge graphviz=2.46.1 python-graphviz

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