I'm trying to animate a graph with Matplotlib, something which I've done on a previous system. My code, however, seems to fail with my current setup.
Here's the problem:
Writer = animation.writers['ffmpeg']
Traceback (most recent call last): File "/Users/oliversanders/Documents/Code/PyCharm/plottools/animationTest.py", line 17, in Writer = animation.writers['ffmpeg'] AttributeError: 'module' object has no attribute 'writers'
Or alternatively:
mywriter = animation.FFMpegWriter(fps=15)
Traceback (most recent call last): File "/Users/oliversanders/Documents/Code/PyCharm/plottools/animatedPointPlotter.py", line 101, in mywriter = animation.FFMpegWriter(fps=15) AttributeError: 'module' object has no attribute 'FFMpegWriter'
I've just re-installed matplotlib (1.4.2) and ffmpeg (2.5.3) for good measure. I've also deleted all .pyc files from matplotlib's directory to make sure they aren't messing anything up.
I've looked around but been unable to find a solution. See also: Using FFmpeg and IPython, What could be wrong in saving the following animation in Python?.
Thanks in advance.