Ausnahme: "Punkt" nicht im Pfad in Python auf dem Mac gefunden

Ich möchte benutzencaffe.draw um das caffe net von anaconda python auf mac zu zeichnen. Aber ich habe den Fehler so bekommen:

File "python/draw_net.py", line 45, in <module>
    main()
  File "python/draw_net.py", line 41, in main
    caffe.draw.draw_net_to_file(net, args.output_image_file, args.rankdir)
  File "/Users/xxh/caffe/distribute/python/caffe/draw.py", line 222, in draw_net_to_file
    fid.write(draw_net(caffe_net, rankdir, ext))
  File "/Users/xxh/caffe/distribute/python/caffe/draw.py", line 204, in draw_net
    return get_pydot_graph(caffe_net, rankdir).create(format=ext)
  File "/Users/xxh/anaconda2/lib/python2.7/site-packages/pydot.py", line 1883, in create
    prog=prog))
Exception: "dot" not found in path.

Ich habe pydot und graphviz installiert und wie kann ich den Pfad des Punkts zum Python-Pfad hinzufügen?

Antworten auf die Frage(8)

Ihre Antwort auf die Frage