spyder导入graphviz库出现 AttributeError: module 'graphviz.backend' has no attribute 'ENCODING'
导入不成功
我也是,解决了吗
你的 graphviz 是什么版本。
stackoverflow 的回答是 到 0.19 版import 就没这个问题了。
python-graphviz==0.19
https://stackoverflow.com/questions/69989691/how-to-resolve-attributeerror-module-graphviz-backend-has-no-attribute-encod