I have been trying to install ffmpeg using the command
pip install ffmpeg
and I am doing this in a server where we dont have sudo permissions. On writing ffmpeg I get ffmpeg: command not found. Then I checked with pip list
and it showed ffmpeg. Please help me.
Asked
Active
Viewed 1.9k times
4

your_doomsday07
- 71
- 1
- 2
- 7
3 Answers
8
pip install ffmpeg
installs a Python package that doesn't have any executable scripts; it's for calling functions from Python code.
If you want to install ffmpeg
program you need to run — what do you use, Ubuntu? — sudo apt install ffmpeg
The Python package requires the program anyway.

phd
- 82,685
- 13
- 120
- 165
2
Make sure to run pip install ffmpeg-python
and not pip install ffmpeg
or pip install python-ffmpeg
. As @phd says that pip install ffmpeg
will only install a Python package.

Muhammad Mobeen
- 35
- 7
-
`ffmpeg` (program) must be installed anyway: https://github.com/kkroening/ffmpeg-python#installing-ffmpeg – phd Dec 25 '22 at 10:32
0
Try conda install ffmpeg
. This will also work if you do not have sudo access. Pip installation might not work sometimes.

Himangi Mittal
- 9
- 2
-
Hello, you could specify what conda is/does to help the OP. While you it is true you don't need sudo rights with conda, OP may not be using/wishing to use conda environments. – RoB Jan 30 '23 at 16:46
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 30 '23 at 16:46