Hello, In the Message; Subject : Re: youtube download problems Message-ID : <726a9927-3600-52d0-b433-c45719900597@telefonica.net> Date & Time: Thu, 3 Aug 2023 09:54:06 +0200 [CER] == "Carlos E. R." <robin.listas@telefonica.net> has written: [...] MN> > The module named 'contextvars' was added since python 3.7. MN> > MN> > So, you need python3.7 or later to use yt-dlp. [...] MN> > # update-alternatives --config python3 MN> > then choose the python3 you have installed. CER> Telcontar:/etc/systemd/system # update-alternatives --config python3 CER> update-alternatives: error: no alternatives for python3 CER> Telcontar:/etc/systemd/system # update-alternatives --config python CER> update-alternatives: error: no alternatives for python CER> Telcontar:/etc/systemd/system # CER> But I'd hesitate to change the setting globally. I understand Andrei's point that with Leap, installing python 3.x does not automatically register it in update-alternatives like it does with Tumbleweed, but I think his nuance of not being able to use update-alternatives is misleading. In other words, the update-alternatives setting can be used provisionally, so that python 3.10 is used only when yt-dlp is used, and this is not supposed to affect the behavior of the system. Specifically, you can set the following; # update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 306 # update-alternatives --install /usr/bin/python3 python3 /python3.10 310 Here, python3.10 is automatically selected because it is the mode of choice. So don't forget switch it to global python3.6 by; # update-alternatives --config python3 Then, when you want to use yt-dlp # update-alternatives --config python3 and select python3.10. Needless to say, don't forget to revert to python3.6 when you are done using yt-dlp. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "No Windows, no gains!" ... "Why, I am wrong?" -- Bill --