美文网首页
解决 InvocationException: Program

解决 InvocationException: Program

作者: 寂风如雪 | 来源:发表于2020-09-17 17:30 被阅读0次

尝试可视化 sklearn 实现的决策树
根据这篇文章 https://blog.csdn.net/llh_1178/article/details/78516774
graph.create_png() 出现报错

InvocationException: Program terminated with status: 1. stderr follows: Format: "png" not recognized. Use one of:

注意这个 Use one of: 后面什么都没有
网上搜索无果,最终摸索出解决方法是,在管理员权限下的 powershell 中执行 dot -c

相关文章

网友评论

      本文标题:解决 InvocationException: Program

      本文链接:https://www.haomeiwen.com/subject/ibfryktx.html