OSMC and python 3.6

Hello, I need to installa python 3.6 (or higher) on my Raspberry Pi 3 running the latest OSMC version.

Right now, I have those python versions:

osmc@osmc3:~$ python
Python 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516] on linux2 

and

osmc@osmc3:~$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux

If i run

sudo apt-get install --only-upgrade python3

I get this output:

python3 is already the newest version (3.5.3-1).

How can I install a more recent python3 version, without breaking anything?

Thanks!

1 Like

you can just install it as an alternative to the system versions

Thanks to all.
So, I basically can wait for OSMC to be updated to Debian Buster, or I can manually build Python 3.6 from source and install it alongside the shipped version.
if I decide to go with the second option, will I encounter any issue when OSMC will be updated and Python 3.6 will be the official version?

Thanks again.

1 Like

As 3.5 has also reached its EOL in September, when can we expect an upgrade to 3.6?
Is it dependent on Debian Buster only? Is it coming this month?

Thanks.

You will need to update to Buster. There won’t be any more Python updates for our release of Debian Stretch.

1 Like