Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work #403

Closed
1 task done
Morriz opened this issue May 20, 2024 · 4 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@Morriz
Copy link

Morriz commented May 20, 2024

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

  • Yes I was.

Relevant log output

No response

Relevant screenshots (optional)

No response

@Morriz Morriz added the bug Something isn't working label May 20, 2024
@ideologysec
Copy link

Do you have ffmpeg installed and in your $PATH...?

@danielmiessler
Copy link
Owner

Yes, just path issues.

@christrille
Copy link

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

@jasonagutierrez
Copy link

I'm running fabric in fresh install of WSL and I needed to

  1. Install Python 3
  • sudo apt update && sudo apt install python3 python3-pip
  1. Add Python to my PATH
  • edit your ~/.bashrc file and adding the following line: export PATH="$PATH:/usr/bin/python3"
  1. Reset the terminal
  • source ~/.bashrc
  1. Install FFMPEG
  • sudo apt install ffmpeg # version 7:4.4.2-0ubuntu0.22.04.1

After these steps, I no longer received the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants