-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: [Errno 2] "dot" not found in path #257
Comments
Do you have Graphviz installed? What is the output of running |
It was this.I did have not install Graphviz, thanks a lot |
No problem, maybe we should see if we can make the error message more clear. Thanks, all the best! |
Should be solved as part of #218. That PR is currently closed, but I hope to reopen it in the future. |
Hello, Yes, it would be nice to have a clear error message. Etienne NB: in the meanwhile, please let this issue open! At least, we know what to do with this error. And now, I can generate graphviz schema from Python, which is nice! :) |
I faced the same error. I can't run My pip install:
Update:
However, if I do not have sudo permission, please help me to solve it. |
@sys-walker: Is the problem solved by using conda https://anaconda.org/conda-forge/graphviz? |
The issue is fixed by installing graphviz in any way possible on your system: https://graphviz.org/ and making sure it's on your PATH when the script using Closing because of inactivity. |
@lkk7 how can I find pydot PATH? |
Hi @mainguyenanhvu, Do you have graphiz (dot) already installed? |
@lkk7 I do not see that PATH and not found dot when running |
Try installing graphviz: This should fix the problem. If you still have problems with |
@lkk7 Thank you for your support. I understand that there is no way except using |
@mainguyenanhvu well, maybe you can install it without sudo, just like this: |
Description
I tried to use pydot to plot a decision tree but i got this error, i will provide the code used in order to reproduce that situation Main.py
Environment used
pip freeze
command.The text was updated successfully, but these errors were encountered: