Executables not found in systems path- New to python and Graphviz

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>

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.

Any advice would be greatly appreciated. Hopefully, this is enough information to spark some theories on what to do next. Thanks!

-Amy

HII

I agree with Stephen. SInce you can run dot -V in a dos shell,  the Graphviz bin directory is in your path, so it must be something about python or spyder. You should check with those communities.Kamagra http://www.pharmaglobalrx.com/kamagra.html

Re: Executables not found in systems path- New to python and ...

Sorry to hear about the problems. Unfortunately it sounds like the problem is in your Windows configuration, or in Spyder. As you point out, "dot.exe -V" runs correctly.  Can you also run "dot -V" (without .exe)?  Or maybe Python doesn't get the system path, or it overwrites yours with its own. Maybe other Spyder users can help.

 

I agree with Stephen. SInce

I agree with Stephen. SInce you can run dot -V in a dos shell,  the Graphviz bin directory is in your path, so it must be something about python or spyder. You should check with those communities.

Figured it out! needed to

Figured it out! needed to add C:\Program Files (x86)\Graphviz2.38\bin\dot.exe to the systems path. Thanks for the help!

Thanks for the replies. It

Thanks for the replies. It does work with "dot -V" I will look into the suggested communities. Thanks again!

Recent comments