Search code examples
pythonffmpeg

Requested MovieWriter (ffmpeg) not available even when I installed it


I am running this command.

import bar_chart_race as bcr
bcr.bar_chart_race(df=covid_df,filename=None,figsize=(3.5,3),title='Covid-19 Cases by State',n_bars=10)

Getting the below error

Exception: You do not have ffmpeg installed on your machine. Download
                            ffmpeg from here: https://www.ffmpeg.org/download.html.
                            
                            Matplotlib's original error message below:

                            Requested MovieWriter (ffmpeg) not available

Have already installed the module

D:\py\Scripts>pip install ffmpeg-python
Requirement already satisfied: ffmpeg-python in d:\py\lib\site-packages (0.1)

D:\py\Scripts>

Solution

  • The ffmpeg-python module and ffmpeg are two different things. You need to install ffmpeg from the link of the error Message

    https://www.ffmpeg.org/download.html