"RuntimeError: asegúrese de que los ejecutables de Graphviz estén en la ruta de su sistema" después de instalar Graphviz 2.38

yo descarguéGraphviz 2.38 Versión de MSI e instalada en la carpetaC:\Python34entonces corropip install Graphviz, todo salió bien. En la ruta del sistema agreguéC:\Python34\bin. Cuando intenté ejecutar un script de prueba, en líneafilename=dot.render(filename='test')Recibí un mensaje

 RuntimeError: failed to execute ['dot', '-Tpdf', '-O', 'test'], make sure the Graphviz executables are on your systems' path

Traté de poner"C:\Python34\bin\dot.exe" en la ruta del sistema, pero no funcionó, e incluso creé una nueva variable de entorno"GRAPHVIZ_DOT" con valor"C:\Python34\bin\dot.exe", sigue sin funcionar. Intenté desinstalar Graphviz y desinstalar pip graphviz, luego reinstalarlo e instalar pip nuevamente, pero nada funciona.

El mensaje completo de rastreo es:

Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\graphviz\files.py", line 220, in render
    proc = subprocess.Popen(cmd, startupinfo=STARTUPINFO)
  File "C:\Python34\lib\subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "C:\Python34\lib\subprocess.py", line 1112, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Documents\Kissmetrics\curves and lines\eventNodes.py", line 56, in <module>
    filename=dot.render(filename='test')
  File "C:\Python34\lib\site-packages\graphviz\files.py", line 225, in render
    'are on your systems\' path' % cmd)
RuntimeError: failed to execute ['dot', '-Tpdf', '-O', 'test'], make sure the Graphviz executables are on your systems' path

¿Alguien tiene alguna experiencia con eso?

Respuestas a la pregunta(14)

Su respuesta a la pregunta