Added Graphviz too Path but pydot cannot find dot excuable correctly
See original GitHub issueI use anaconda python on windows 10 platform, install pydot by
pip install pydot
then install Graphviz by install package download from https://www.graphviz.org/download/.
and then add the install location to Path:
E:\Program Files (x86)\Graphviz2.38\bin
but pydot cannot find dot excuable correctly because of the code in pydot below as I think:
def get_executable_extension():
# type: () -> str
if is_windows():
return '.bat' if is_anacoda() else '.exe'
else:
return ''
There are not excuable file name dot.bat, only dot.exe in my path. Even I use anaconda, but I am not install graphviz by conda.
And the error info is confusing:
FileNotFoundError: [WinError 2] "dot" not found in path.
Pydot just can not find dot.bat but not dot.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Why is pydot unable to find GraphViz's executables in ...
The problem is that the path to GraphViz was not found by the pydot module as shown in the traceback: 'GraphViz\'s executables not...
Read more >GraphViz not working when imported inside PydotPlus ...
It's best if the Package sets the PATH correctly and removes it when you uninstall the Package (so you don't get too long...
Read more >Installing in Windows - advice please - Help - Graphviz
I would like to install Graphviz for use with R. I have Windows 10. I couldn't find any instructions on how to do...
Read more >Install — PyGraphviz 1.10 documentation
sudo apt-get install graphviz graphviz-dev $ pip install pygraphviz ... you need to provide pip with the path(s) where it can find Graphviz....
Read more >Why Is Pydot Unable To Find Graphviz'S ... - ADocLib
After you have installed Graphviz, make sure the dot executable is run ... Python is installed and added to the path, but I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally, I use
to install graphviz and then everything going well.
Yes, pydot installed via conda it supports graphviz installed by conda only.
I agree that the error message should take different installation methods into account and be improved.