Possible Duplicate:
matplotlib.animation error - The system cannot find the file specified
I'm trying to use the animation class in python and have a problem with the save.animation
function. Other questions have had the poster add an application called ffmpeg.exe
to the python path to solve the problem.
Unfortunately, I really don't understand what it means to "add something to the python path" and can't figure it out from searching online.
Would anyone like to enlighten me? It would be much appreciated!
The problem is that when running my code the line:
anim.save('HAMILTONIAN.mp4',fps=5, codec=None, clear_temp=True,
frame_prefix='_tmp')
produces the error:
Traceback (most recent call last):
File "Z:\desktop\Project\bhmqntm-code\HamiltonianMovie(points_reducedtsegs).py", line 75, in <module>
anim.save('HAMILTONIAN.mp4',fps=5, codec=None, clear_temp=True, frame_prefix='_tmp')
File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 127, in save
self._make_movie(filename, fps, codec, frame_prefix)
File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 164, in _make_movie
stdout=PIPE, stderr=PIPE)
File "C:\Python27\lib\subprocess.py", line 679, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 893, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified