Python 3.10 for plugin.video.sendtokodi (yt-dlp)

Hi,

I use the plugin.video.sendtokodi, which uses yt-dlp. The new version of yt-dlp requires Python 3.10. Can Python be updated on OSMC?

EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
 - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: You are using an unsupported version of Python. Only Python versions 3.10 and above are supported by yt-dlp
Traceback (most recent call last):
  File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/service.py", line 331, in <module>
    from yt_dlp import YoutubeDL
  File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/lib/yt_dlp/__init__.py", line 4, in <module>
    raise ImportError(
ImportError: You are using an unsupported version of Python. Only Python versions 3.10 and above are supported by yt-dlp
-->End of Python script error report<--

It will come with the next version of Debian

Sam

1 Like

I manually installed version v0.9.995 of the plugin (which still works with Python 3.9) while waiting for the new version of Debian.

3 Likes