Exception: “dot” not found in path in python on mac

后端 未结 6 616
广开言路
广开言路 2021-02-05 22:38

I want to use caffe.draw to draw the caffe net by anaconda python on mac. But I got the error like this:

File \"python/draw_net.py\", line 45, in &l         


        
6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-05 22:51

    I was able to get it to work by installing graphviz through the command line:

    pip install graphviz
    pip install pydot
    

提交回复
热议问题