Skip to content

Error: renderer for julia:cairo is unavailable #11

@pluskid

Description

@pluskid

I got the following error when trying the example in the front page in an IJulia Notebook

using GraphViz
Graph("""
graph graphname {
     // The label attribute can be used to change the label of a node
     a [label="Foo"];
     // Here, the node shape is changed.
     b [shape=box];
     // These edges both have different line properties
     a -- b -- c [color=blue];
     b -- d [style=dotted];
 }
""")
Error: renderer for julia:cairo is unavailable
`writemime` has no method matching writemime(::Base64Pipe, ::MIME{symbol("image/png")}, ::Nothing)

 in writemime at /Users/chiyuan/.julia/v0.3/GraphViz/src/GraphViz.jl:587
 in base64 at base64.jl:125
 in display_dict at /Users/chiyuan/.julia/v0.3/IJulia/src/execute_request.jl:34
julia> versioninfo()
Julia Version 0.3.3
Commit b24213b* (2014-11-23 20:19 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.3.0)
  CPU: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

Do I need to install anything externally? I tried with Pkg.checkout but the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions