Credit to danielfm
First you need to download the source code and change the package build for the Python package. Replace X
with the version you wish to install:
$ git clone -b openelec-X.0 https://github.com/openelec/openelec.tv
$ cd openelec.tv
$ vim packages/lang/Python/package.mk
Change vim
with whatever text editor you prefer. Then find the following line: