Fabric
Fabric copied to clipboard
[Bug]: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
What happened?
In step 8 of the setup, when running fabric --help I get the following error:
RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
I am using python 3.12
Version check
- [X] Yes I was.
Relevant log output
No response
Relevant screenshots (optional)
No response
Do you have ffmpeg installed and in your $PATH...?
Yes, just path issues.
Got this error on Mac:
- RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
I installed ffmpeg and it worked fine:
- brew install ffmpeg
I'm running fabric in fresh install of WSL and I needed to
- Install Python 3
sudo apt update && sudo apt install python3 python3-pip
- Add Python to my PATH
- edit your ~/.bashrc file and adding the following line: export PATH="$PATH:/usr/bin/python3"
- Reset the terminal
source ~/.bashrc
- Install FFMPEG
sudo apt install ffmpeg# version 7:4.4.2-0ubuntu0.22.04.1
After these steps, I no longer received the error.