ffmpeg-normalize not working in Python

I have ffmpeg-normalize installed through pip3 It seems to work from the terminal but I need to run it through python subprocess.

Everytime I try to run it the error says:

/bin/sh: 1: ffmpeg-normalize: not found

1 Answer

It depends on the way of ffmpeg-normalize installation. You have to adjust PATH variable.

In case of user's installation by

pip3 uninstall ffmpeg-normalize

you should add /home/$USER/.local/bin to PATH variable.


Or if you install it system-wide by

sudo pip3 install ffmpeg-normalize

then it will be available from /usr/local/bin/ffmpeg-normalize.

Make sure that your PATH variable contains /usr/local/bin directory. Minimal reproducible PATH variable should be /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like