---
title: "pydotplus.graphviz.InvocationException: 报错解决"
author: "黄国甫"
date: "2020-10-16T17:32:35Z"
tags: []
categories: ["编程语言"]
slug: "pydotplus-graphviz-invocationexception"
draft: false
lastmod: "2020-10-16T17:32:35Z"
id: 2517186
url: "https://peter1981.iteye.com/blog/2517186"
---

环境是windows 
报错信息：
pydotplus.graphviz.InvocationException: Program terminated with status: 1. stderr follows: Format: "png" not recognized. Use one of:

解决办法：打开命令行窗口，输入：dot -c  回车
再输入dot -v 查看是否注册完成。


具体的参考的是 https://stackoverflow.com/questions/35688320/graphviz-seems-doesnt-support-png-and-map