title: Error exporting animation ffmpeg - Matplotlib
body: <p>I'm having issues with exporting an animation using python through anaconda on a Mac. I'm getting the following <code>RuntimeError</code>.</p>
  <pre><code>RuntimeError: Requested MovieWriter (ffmpeg) not available
  </code></pre>
  <p>Looking at other questions, the main options are to install <code>ffmpeg</code> via conda:</p>
  <pre><code>conda install -c conda-forge ffmpeg
  </code></pre>
  <p>Or designate the path:</p>
  <pre><code>plt.rcParams['animation.ffmpeg_path'] = '/usr/local/bin/ffmpeg'
  </code></pre>
  <p>The second option just returns the same <code>RuntimeError</code>. The first option returns a separate error:</p>
  <pre><code>BrokenPipeError: [Errno 32] Broken pipe
  
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
  
    File &quot;/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py&quot;, line 1152, in save
  writer.grab_frame(**savefig_kwargs)
  
    File &quot;/Users/person/opt/anaconda3/lib/python3.8/contextlib.py&quot;, line 131, in __exit__
  self.gen.throw(type, value, traceback)
  
    File &quot;/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py&quot;, line 232, in saving
  self.finish()
  
    File &quot;/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py&quot;, line 368, in finish
  self.cleanup()
  
    File &quot;/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py&quot;, line 411, in cleanup
  raise subprocess.CalledProcessError(
  
  CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '1600x1302', '-pix_fmt', 'rgba', '-r', '10', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-b', '8000k', '-vcodec', 'libx264', '-y', 'test_text.mp4']' died with &lt;Signals.SIGABRT: 6&gt;.
  </code></pre>
  <p>Chasing up this error then refers me back to uninstalling the <code>ffmpeg</code> package. But this just leads to the initial error stating <code>ffmpeg</code> isn't available.</p>