I'm using python 3.8 on MacOS Big Sur
I installed python module package for youtube-dl with
pip3 install -upgrade youtube-dl
I wanted to do post processing on the content downloaded so I installed python packages ffprobe and ffmpeg.
pip3 install ffprobe
Collecting ffprobe
Downloading https://files.pythonhosted.org/packages/95/9c/adf90d21108d41f611aa921defd2f2e56d3f92724e4b5aa41fae7a9972aa/ffprobe-0.5.zip
Installing collected packages: ffprobe
Running setup.py install for ffprobe ... done
Successfully installed ffprobe-0.5
pip3 install ffmpeg
Collecting ffmpeg
Downloading https://files.pythonhosted.org/packages/f0/cc/3b7408b8ecf7c1d20ad480c3eaed7619857bf1054b690226e906fdf14258/ffmpeg-1.4.tar.gz
Installing collected packages: ffmpeg
Running setup.py install for ffmpeg ... done
Successfully installed ffmpeg-1.4
pip3 list
Package Version
---------- ----------
ffmpeg 1.4
ffprobe 0.5
youtube-dl 2021.12.17
Still it is complaining can't find ffprobe and ffmpeg:
youtube_dl.utils.DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.
I see both packages in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/
Trying to figure out what am I doing wrong. Many other answers to similar questions on SFO are suggesting installing these packages in the OS using brew etc. but in my case "I want to do everything through python". So shouldn't just installing python modules be enough?