Skip to content
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

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

Closed
GoogleCodeExporter opened this issue Apr 13, 2015 · 20 comments
Closed

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

GoogleCodeExporter opened this issue Apr 13, 2015 · 20 comments

Comments

@GoogleCodeExporter
Copy link

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

@abhillis
Copy link

abhillis commented Apr 6, 2016

To update GoogleCodeExplorer's April 13th comment above, I found this path now works:

return __find_executables("C:/Program Files (x86)/Graphviz2.38/bin")

@johnyf
Copy link
Contributor

johnyf commented May 14, 2016

Same as #109.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants