Requested MovieWriter (ffmpeg) not available even when I installed it
Question:
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:pyScripts>pip install ffmpeg-python
Requirement already satisfied: ffmpeg-python in d:pylibsite-packages (0.1)
D:pyScripts>
Answers:
The ffmpeg-python module and ffmpeg are two different things. You need to install ffmpeg from the link of the error Message
For those of you who are able to download the ffmpeg file. Here are the steps to activate it.
-
Install the ffmpeg in your cmd using pip or conda:
conda install -c conda-forge ffmpeg
or
pip install ffmpeg-python
-
Download the ffmpeg zip file from the following page:
https://ffmpeg.zeranoe.com/builds/
Since I have Windows OS, I need to put the ffmpeg’s bin folder into the path. Unzip the file you’ve download and copy paste it inside your C: for instance. Put the bin folder to the path using the steps from this link.
Note! After these steps you can check the instalation by runnig this command in your terminal:
ffmpeg -version
In this case you should not see: ‘ffmpeg’ is not recognized as an internal or external ecoomand.
For detailed explanation check out this webpage.
Run it on COlab it will work
It happened to me on Jupture Only
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:pyScripts>pip install ffmpeg-python
Requirement already satisfied: ffmpeg-python in d:pylibsite-packages (0.1)
D:pyScripts>
The ffmpeg-python module and ffmpeg are two different things. You need to install ffmpeg from the link of the error Message
For those of you who are able to download the ffmpeg file. Here are the steps to activate it.
-
Install the ffmpeg in your cmd using pip or conda:
conda install -c conda-forge ffmpeg
or
pip install ffmpeg-python
-
Download the ffmpeg zip file from the following page:
https://ffmpeg.zeranoe.com/builds/Since I have Windows OS, I need to put the ffmpeg’s bin folder into the path. Unzip the file you’ve download and copy paste it inside your C: for instance. Put the bin folder to the path using the steps from this link.
Note! After these steps you can check the instalation by runnig this command in your terminal:
ffmpeg -version
In this case you should not see: ‘ffmpeg’ is not recognized as an internal or external ecoomand.
For detailed explanation check out this webpage.
Run it on COlab it will work
It happened to me on Jupture Only