问题描述
在Linux下,我已经检查出matplotlib的动画类,它似乎只是我不能初始化电影编剧写出来的电影工作。
Under Linux, I've been checking out matplotlib's animation class, and it seems to work except that I cant initialise the movie writer to write out the movie.
无论使用的例子:
错误结果 RuntimeError:不!MovieWriters可用
即时通讯使用matplotlib 1.3.x版,并且已经安装(希望)所有codeCS。
Im using matplotlib version 1.3.x and have installed (hopefully) all the codecs.
有人可以请建议,为什么我得到这个错误?如果它是一个codeCS问题,其中codeCS(+版本),我应该安装?
如果别的,就是坏了,是有使用Python创建动画的方法吗?
Can someone please suggest as to why I get this error? If its a codecs issue, which codecs (+versions) should I install?If its something else that's broken, is there an alternative for creating animations in python?
推荐答案
有同样的问题....设法得到它的一小会儿后,工作。
Had the same problem....managed to get it to work after a little while.
要做的就是跟随上安装FFmpeg的指令 - 这是(至少在Windows上)可执行文件的包,你需要一个路径在环境变量设置为
Thing to do is follow instructions on installing FFmpeg - which is (at least on windows) a bundle of executables you need to set a path to in your environment variables
http://www.wikihow.com/Install-FFmpeg-on-Windows
从这里下载的前男友。
希望这可以帮助别人 - 甚至在问题后的一段时间 - 好运气
Hope this helps someone - even after a while after the question - good luck
这篇关于Matplotlib动画[否MovieWriters可用"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!