RuntimeError:Matplotlib动画中没有MovieWriters
我遇到的问题是类似于以下示例的代码:https
:
//matplotlib.org/examples/animation/basic_example_writer.html
错误:
RuntimeError:没有MovieWriters可 发生在Writer =
animation.writers['ffmpeg']
上面的例子。
我正在使用Mac,已经使用brew安装了ffmpeg,甚至使用conda进行了安装,即使我没有为该特定代码使用anaconda。
我肯定它已安装-我已在终端中使用它来更改文件,但在程序中无法运行。
谢谢!