【发布时间】:2012-10-30 06:20:33
【问题描述】:
在Linux下,我一直在检查matplotlib的动画类,它似乎可以工作,只是我无法初始化电影编写器来写出电影。
使用任一示例:
- http://matplotlib.org/examples/animation/moviewriter.html
- http://matplotlib.org/examples/animation/basic_example_writer.html
导致错误“RuntimeError: No MovieWriters available!”
我正在使用 matplotlib 1.3.x 版并且已经安装(希望)所有的编解码器。
有人可以建议我为什么会收到此错误吗?如果是编解码器问题,我应该安装哪些编解码器(+版本)? 如果它的其他东西坏了,是否有在 python 中创建动画的替代方法?
【问题讨论】:
-
你运行的是什么操作系统?安装了ffmeg还是libav?
-
import matplotlib.animation as manimation; manimation.writers.list()
标签: python linux animation matplotlib runtime-error