3 Aug
2023
3 Aug
'23
06:30
On Thu, Aug 3, 2023 at 7:18 AM Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote: ...
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
# update-alternatives --config python3
then choose the python3 you have installed.
On Leap /usr/bin/python3 is not under alternatives control and replacing system python with something else will likely break quite a lot of programs.You need to explicitly use /usr/bin/python311 (or 310 if that is what you installed).