--------------------------------------------------------------------------- WindowsError Traceback (most recent call last) C:\Users\Michael\Desktop\simul2.py in () 261 262 mywriter = animation.FFMpegWriter() --> 263 anim.save('mymovie.mp4') 264 265 C:\Users\Michael\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\animation.pyc in save(self, filename, writer, fps, dpi, codec, bitrate, extra_args, metadata, extra_anim, savefig_kwargs) 744 # since GUI widgets are gone. Either need to remove extra code to 745 # allow for this non-existant use case or find a way to make it work. --> 746 with writer.saving(self._fig, filename, dpi): 747 for data in zip(*[a.new_saved_frame_seq() 748 for a in all_anim]): C:\Users\Michael\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.2.2785.win-x86_64\lib\contextlib.pyc in __enter__(self) 15 def __enter__(self): 16 try: ---> 17 return self.gen.next() 18 except StopIteration: 19 raise RuntimeError("generator didn't yield") C:\Users\Michael\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\animation.pyc in saving(self, *args) 173 ''' 174 # This particular sequence is what contextlib.contextmanager wants --> 175 self.setup(*args) 176 yield 177 self.finish() C:\Users\Michael\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\animation.pyc in setup(self, fig, outfile, dpi, *args) 163 # Run here so that grab_frame() can write the data to a pipe. This 164 # eliminates the need for temp files. --> 165 self._run() 166 167 @contextlib.contextmanager C:\Users\Michael\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\animation.pyc in _run(self) 190 self._proc = subprocess.Popen(command, shell=False, 191 stdout=output, stderr=output, --> 192 stdin=subprocess.PIPE) 193 194 def finish(self): C:\Users\Michael\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.2.2785.win-x86_64\lib\subprocess.pyc in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags) 707 p2cread, p2cwrite, 708 c2pread, c2pwrite, --> 709 errread, errwrite) 710 except Exception: 711 # Preserve original exception in case os.close raises. C:\Users\Michael\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.2.2785.win-x86_64\lib\subprocess.pyc in _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, to_close, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) 955 env, 956 cwd, --> 957 startupinfo) 958 except pywintypes.error, e: 959 # Translate pywintypes.error to WindowsError, which is WindowsError: [Error 2] Le fichier spécifié est introuvable