Home > Back-end >  I'm experience FileNotFoundError in my code
I'm experience FileNotFoundError in my code

Time:08-09

when i tried using Graphviz package after it has been install successfully in visual environment i still get the follow error.

ExecutableNotFound: failed to execute WindowsPath('dot'), make sure the Graphviz executables are on your systems' PATH <graphviz.sources.Source at 0x1fdbb44bf40>

CodePudding user response:

Try installing the graphviz package in your system. On Ubuntu try:

sudo apt-get install graphviz

CodePudding user response:

for solving above error try installing graphviz package in your system. for windows use this=>https://graphviz.org/download/#windows then after that use graphviz in your code like this: import os os.environ["PATH"] = os.pathsep 'D:/Program Files (x86)/Graphviz2.38/bin/'

  • Related