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.

GraphViz's executables not found on Windows 7 64-bit

See original GitHub issue
What steps will reproduce the problem?
1. Install pydot on Win 7 64
2. Try to run the graph write_png() method

What is the expected output? What do you see instead?

You'll see this:
    graph.write_png('example2_graph.png')
  File "build\bdist.win-amd64\egg\pydot.py", line 1809, in <lambda>
  File "build\bdist.win-amd64\egg\pydot.py", line 1911, in write
  File "build\bdist.win-amd64\egg\pydot.py", line 1953, in create
pydot.InvocationException: GraphViz's executables not found

What version of the product are you using? On what operating system?

Using graphviz 2.28 on Win 7 64-bit.

Please provide any additional information below.

It looks like graphviz uses a different registry setting for Win7 64:

    hkey = win32api.RegOpenKeyEx( win32con.HKEY_LOCAL_MACHINE, "SOFTWARE\Wow6432Node\AT&T Research Labs\Graphviz 2.28", 0, win32con.KEY_QUERY_VALUE )


Original issue reported on code.google.com by mike.naq...@gmail.com on 20 Jan 2012 at 4:46

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:20 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
GoogleCodeExportercommented, Apr 13, 2015
I just added this registry key to 64bit win7 and everything started working:

[HKEY_LOCAL_MACHINE\SOFTWARE\ATT\Graphviz]
"InstallPath"="C:\\Program Files (x86)\\Graphviz2.38"

Just change it based on your Graphviz installation directory.

Original comment by amir.tavasoli@gmail.com on 29 Dec 2014 at 6:32

Attachments:

0reactions
johnyfcommented, May 14, 2016

Same as #109.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Graphviz's executables are not found (Python 3.4)
From Anaconda Terminal: conda install graphviz; Went to Windows Environment Varialbes, PATH, and added the location of my dot.exe file under graphviz directory ......
Read more >
GraphViz not working when imported inside PydotPlus ...
In my case I am able to find graphviz executables manually in anaconda3\Library\bin\graphviz , but I still would get the GraphViz's Executables not...
Read more >
Download - Graphviz
Stable Windows install packages, built with Microsoft Visual Studio 16 2019: ... graphviz-7.0.4 (64-bit) EXE installer [sha256].
Read more >
How to Install graphviz // Error fixed : "InvocationException
How to Install graphviz // Error fixed : "InvocationException: GraphViz's executables not found "Find all file in git hub ...
Read more >
How to Install Graphviz on Windows - iotespresso.com
Graphviz installation happens in two parts: Graphviz System ... the executable for Windows (depending on your PC type, 64-bit or 32-bit).
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