question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RenderTreeGraph(root).to_picture("tree.png") Not building tree

See original GitHub issue

getting this error

FileNotFoundError: [Errno 2] No such file or directory: ‘dot’

While I Run RenderTreeGraph(udo).to_picture("tree.png") Not building tree

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pcakhilnadhcommented, Feb 4, 2022

@armoured-moose I used pip3 to install graphviz. But when I installed graphviz using following command, it solved my issue.

sudo apt install graphviz

0reactions
samuelhwardcommented, Feb 23, 2022

@pcakhilnadh

Yep it worked for me too, I was more just recommending that the docs explicitly state that it’s a requirement 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Export to DOT — anytree 2.8.0 documentation
Can be rendered to a tree by RenderTreeGraph : >>> from anytree.dotexport import RenderTreeGraph >>> RenderTreeGraph(root).to_picture("tree.png").
Read more >
Rendering a tree in python using anytree and graphviz ...
I am creating a tree from a list ...
Read more >
Illustration, Tree images, Roots drawing - PIXTA - Pinterest
banyan tree and roots hand drawn - Stock Illustration(No.84126920). Find images exactly you are looking for from more than 77,700,000 of royalty-free stock ......
Read more >
Convert a Binary Tree into its Mirror Tree - GeeksforGeeks
Given a binary tree, the task is to convert the binary tree into its Mirror tree. Mirror of a Binary Tree T is...
Read more >
Python Tree Data - Read the Docs
If None the node is root node. If set to another node, the node becomes the child of it. >>> from anytree import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found