You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'C:/Program Files/Graphviz/bin' is added to the User Path
and
'C:/Program Files/Graphviz/bin/dot.exe' is added to the System Path
This issue was fixed by adding the location to where the bin file is located to the top of the main.py file:
Example: import os os.environ["PATH"] += os.pathsep + 'C:/Program Files/Graphviz/bin'
The text was updated successfully, but these errors were encountered:
I cannot replicate this issue since I do not use Windows. To setup Graphviz, I recommend looking at the Diagrams documentation as well as Graphviz documentation.
But given that in your case Graphviz becomes callable only when os.environ["PATH"] is modified, I can only suspect that the binary location for Graphviz was not actually added to your PATH environment variable when launching the Python script.
Graphviz was not loading correctly, although
'C:/Program Files/Graphviz/bin'
is added to the User Pathand
'C:/Program Files/Graphviz/bin/dot.exe' is added to the System Path
This issue was fixed by adding the location to where the bin file is located to the top of the main.py file:
Example:
import os os.environ["PATH"] += os.pathsep + 'C:/Program Files/Graphviz/bin'
The text was updated successfully, but these errors were encountered: