无法在Python中执行点

时间:2018-11-09 17:59:47

标签: python python-3.x graphviz

大家好,我在python上遇到了这个问题,我已经尝试解决了这个问题,请在这里将问题发布在我们的主题中。

select a.*,
       ( select value from b where b.a_id = a.id and b.key = 'looks' ) as looks,
       ( select value from b where b.a_id = a.id and b.key = 'lazy' ) as lazy,
       ( select value from b where b.a_id = a.id and b.key = 'car' ) as car,
       ( select value from b where b.a_id = a.id and b.key = 'email' ) as email
  from a
 where a.id = 1;

1 个答案:

答案 0 :(得分:2)

您必须安装graphviz才能正常工作,不仅是Python软件包,还有二进制发行版。

请参见https://www.graphviz.org/

然后,您必须在PATH环境变量中放置要点的路径。