2023-10-20, 00:42
I've been having trouble loading an add-on, and it seems perhaps that the version of Python is too old.
I've updated Python to 3.8.0, but the problem persists. It seems like Kodi is not(?) using the main Python installation, or else I might(?) need to recompile Kodi, but I have no idea how.
Is there a way to do this without losing all my settings, database content, etc.? Any suggestions?
Details:
The Python error, which prevents an add-on dependency from loading:
Kodi.log, showing the error in context: https://termbin.com/3gx9d
I've updated Python to 3.8.0, but the problem persists. It seems like Kodi is not(?) using the main Python installation, or else I might(?) need to recompile Kodi, but I have no idea how.
Is there a way to do this without losing all my settings, database content, etc.? Any suggestions?
Details:
Quote:Kodi (19.4 (19.4.0) Git:20220304-e12e66e019). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2022-03-04 by GCC 7.5.0 for Linux x86 64-bit version 4.15.18 (266002)
Running on Ubuntu 18.04.6 LTS, kernel: Linux x86 64-bit version 4.15.0-213-generic
FFmpeg version/source: 4.3.2-Kodi
Quote:$ python3 --version
Python 3.8.0
$ which python3
/usr/bin/python3
$ ls -la /usr/bin/python3
lrwxrwxrwx 1 root root 25 Oct 19 22:55 /usr/bin/python3 -> /etc/alternatives/python3
$ ls -la /etc/alternatives/python3
lrwxrwxrwx 1 root root 18 Oct 19 22:55 /etc/alternatives/python3 -> /usr/bin/python3.8
The Python error, which prevents an add-on dependency from loading:
Quote:from __future__ import annotations
SyntaxError: future feature annotations is not defined
Kodi.log, showing the error in context: https://termbin.com/3gx9d