This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jbrearley
Recipients jbrearley
Date 2017-10-03.17:04:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507050258.25.0.213398074469.issue31679@psf.upfronthosting.co.za>
In-reply-to
Content
I have successfully installed Graphviz tool from http://graphviz.org, updated my PATH variable appropriately and can generate .PNG files using Python module Graphviz with WinPython 3.6.1. However, I cannot get anywhere using the pydot V1.2.3 module in the same environment. 

The online help suggests that there there are write & write_png members but I can find no trace of them. My sample script is attached. The error I get is:

Traceback (most recent call last):
  File "ML_ex2.py", line 109, in <module>
    graph.write(path=out_fn, format="png")
AttributeError: 'list' object has no attribute 'write'
History
Date User Action Args
2017-10-03 17:04:18jbrearleysetrecipients: + jbrearley
2017-10-03 17:04:18jbrearleysetmessageid: <1507050258.25.0.213398074469.issue31679@psf.upfronthosting.co.za>
2017-10-03 17:04:18jbrearleylinkissue31679 messages
2017-10-03 17:04:18jbrearleycreate