Use Python 3.x (specifically xbmc.python version 3.0.0 or higher).

Kodi shifted its entire architecture with the release of .

Since xbmc.python is a and not a standalone file you can just download and install, fixing this requires updating your Kodi version or finding a compatible branch of the add-on. Understanding the Error: Why It Happens

The error is a common headache for Kodi users. It usually happens when you try to install a modern add-on (designed for Python 3) on an older version of Kodi, like v18 Leia , which only supports Python 2.

Use Python 2.7 (specifically xbmc.python version 2.x).