Figured it out! Needed to add C:\Program Files (x86)\Graphviz2.38\bin\dot.exe to the system's path. Thanks for the help!
On Wednesday, September 16, 2015 at 1:55:06 PM UTC-5, Adrian Klaver wrote: > > On 09/16/2015 09:20 AM, [email protected] <javascript:> wrote: > > Hello everyone, > > > > > > Running a script in Spyder's IPython console and received the following > > messages: > > > > File "", line 1, in > > pd.run_report(proc_dir, out_dir) > > > > File "procdoc.py", line 148, in run_report > > my_dot.render(filename=out_dir+'/img/'+key) > > > > File "C:\Python27\lib\site-packages\graphviz\files.py", line 213, in > render > > 'are on your systems\' path' % cmd) > > > > RuntimeError: failed to execute ['dot', '-Tpng', '-O', > > 'C:\\Users\\alopes\\LwR\\procs\\html/img/adcs_sensor_toggle'], make sure > > the Graphviz executables are on your systems' path > > > > I did "dot.exe -V" > > output was: dot - graphviz version 2.38.0 <20140413.2041> > > > > It also works as "dot -V" > > > > Then in my systems path I added the following: > > > > C:\Program Files (x86)\Graphviz2.38\bin > > > > No change > > > > Then I added "C:\Python27\Lib\site-packages\" to my systems path. Still > > no change. > > > > > > After hours of research I have concluded that this may be an issue with > > Spyder or python rather than with Graphviz. > > > > > > ANY advice would be greatly appreciated. Hopefully, this is enough > > information to spark some theories on what to do next. Thanks! > > Not enough information:) > > OS is Windows, but what version? > > What version of Spyder? > > What version of IPython? > > How was Spyder installed, using Anaconda or some other method? > > In the IPython console what does the below show?: > > import sys > sys.path > > > > > > > -Amy > > > > -- > > You received this message because you are subscribed to the Google > > Groups "spyder" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To post to this group, send email to [email protected] > <javascript:> > > <mailto:[email protected] <javascript:>>. > > Visit this group at http://groups.google.com/group/spyderlib. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Adrian Klaver > [email protected] <javascript:> > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
