Issue with the Diagrams example #63
-
Hi, I'm trying to run the diagrams example in the gallery (https://pawamoy.github.io/markdown-exec/gallery/#with-diagrams). I'm getting the following error:
I copied the python snippet exactly as is. My markdown file: --8<-- "diagrams/example.py" The plotly example works, so I don't think it's my configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Hi, It's working for me locally. Can you try running the code in a Python interpreter and see if you get a Also, what version of |
Beta Was this translation helpful? Give feedback.
-
Ah, maybe you're missing the |
Beta Was this translation helpful? Give feedback.
-
Same issue with normal Python interpreter.
I'll look for the dot executable. |
Beta Was this translation helpful? Give feedback.
-
I am on Mac. I'm working on installing graphviz now. |
Beta Was this translation helpful? Give feedback.
-
I guess I already had graphviz installed
|
Beta Was this translation helpful? Give feedback.
Also remove the line
diagram.render = lambda: None
.