[RPI3] Libreelec 9.0

  • Hi! I install Libreelec 9.0 For Raspberry pi 3 b.

    Why python version still 2.7.15?

    How I can upgrade python to 3.7.2?

  • We cannot use Python3 because Kodi has a hard dependency on Python2. Team Kodi will switch to Python3 for v19 to ensure the change happens before the end of Python2 support in 2020.

  • We cannot use Python3 because Kodi has a hard dependency on Python2. Team Kodi will switch to Python3 for v19 to ensure the change happens before the end of Python2 support in 2020.

    Why Coreelec, Alexelec have Python 3? Only you cannot use Python 3? why?

  • Not all add-ons are compatible with Python 3, that will change as Kodi 19 mandates Python 3 support but for now Python 2 is the best way to ensure add-on compatibility with existing add-ons.

  • Why Coreelec, Alexelec have Python 3? Only you cannot use Python 3? why?

    They have Python2 as default Python and extra Python3.

    Better support for Amlogic devices: use CoreELEC

    Blu-ray Disc Java menus support - forum thread, Github

    my lamp addon (unofficial/community with limited support)
    my touchscreen support and instructions by Grruhn (now touchscreen addon exists in repository)

  • Why Coreelec, Alexelec have Python 3? Only you cannot use Python 3? why?

    Installing both Python3 (that cannot be used by Kodi) side-by-side with Python2 (which is used by Kodi) makes no sense for a size optimised distribution like LibreELEC that targets Kodi - including Python3 at this time would benefit almost nobody and be a waste of space for everyone else. LibreELEC will replace Python2 with Python3 during the Kodi 19 development cycle.

  • Hyperion.ng uses Python3 but I guess that would not make sense to small minded people

    It's like you didn't even read what milhouse wrote. We are an embedded distrobution. If you want a full featured distro then LibreELEC is not for you.

  • Post by milhouse ().

    This post was deleted by CvH ().
  • Post by Klojum ().

    This post was deleted by CvH ().
  • You know the use case could be to make the transition easier. And since hyperion is using it so you could update it. Just saying. And Cryologic has a use case. Package is already there.

  • You know the use case could be to make the transition easier. And since hyperion is using it so you could update it.

    Until Kodi 19 uses Python 3 as a language interpreter, including Python 3 (as an add-on or not) would not help with the transition as Kodi would continue to use only Python 2 when executing Python add-ons.


    Installing Python 3 into the image as well as Python 2 is a very niche requirement, which is why it hasn't been done so far. And for much the same reason nobody has submitted a Python 3 add-on as there isn't really the demand for it.


    Also, the version of hyperion that is supported by LibreELEC 9.0 is using Python2. If someone wants to use a different and unsupported version of hyperion that has different Python language requirements then that is not our problem to solve.

    And Cryologic has a use case. Package is already there.

    @Crylogic hasn't explained what his use case actually is - he only asked why we don't include Python 3, which has now been explained.


    And to my knowledge a package for a Python 3 add-on does not exist, but if anyone wants to submit it as a PR we can consider it, or better yet a community builder can build it/host it as it will have a very short life span.

  • And since hyperion is using it so you could update it

    Its not that easy, you need qt and nobody has an ready to use package that works with hyperion.ng besides ARM and qt is a gigantic time burner so nobody touched it at the moment.


    Btw you could still use the python3 docker, that works everywhere and is easy to use.

  • I have a python3 in image cause I'm using different scripts for IoT and smarthome. I guess I could take a shot at an addon. It pretty simple.

  • I have a python3 in image cause I'm using different scripts for IoT and smarthome. I guess I could take a shot at an addon. It pretty simple.

    Good luck