Installing Python3.5

I recently started to use FlexGet again, now the latest version requires Python3.5.
According to flexget.com I should install this easily via sudo apt-get install python3.5. But unfortunately, this package is not available in the repository.

osmc@osmc:~$ sudo apt-get install python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.5
E: Couldn't find any package by regex 'python3.5'

Does it still need to be added by the Debian developers or is there another way?

Only Python 3.4 is in Jessie, but you can probably get it from backport

Unfortunately not, I googled what “backport” means and added the backports list, updated, and attempted the python3.5 install.

osmc@osmc:/home$ echo "deb http://ftp.debian.org/debian jessie-backports main" | sudo tee /etc/apt/sources.list.d/backports.list
deb http://ftp.debian.org/debian jessie-backports main

osmc@osmc:/home$ sudo apt-get update

Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://security.debian.org jessie/updates/main armhf Packages [277 kB]
Get:3 http://security.debian.org jessie/updates/contrib armhf Packages [1138 B]
Get:4 http://security.debian.org jessie/updates/non-free armhf Packages [14 B]
Get:5 http://security.debian.org jessie/updates/contrib Translation-en [1211 B]
Get:6 http://security.debian.org jessie/updates/main Translation-en [146 kB]
Ign http://ftp.debian.org jessie InRelease
Get:7 http://ftp.debian.org jessie-updates InRelease [142 kB]
Get:8 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Hit http://apt.syncthing.net syncthing InRelease
Get:9 http://ftp.debian.org jessie-backports InRelease [166 kB]
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Get:10 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [5440 B]
Get:11 http://ftp.debian.org jessie-updates/contrib armhf Packages [32 B]
Get:12 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]
Get:13 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:14 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2704 B]
Get:15 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://apt.syncthing.net syncthing/release armhf Packages
Get:16 http://ftp.debian.org jessie-backports/main Translation-en [436 kB]
Ign http://apt.syncthing.net syncthing/release Translation-en
Get:17 http://ftp.debian.org jessie-backports/main armhf Packages [615 kB]
Hit http://apt.osmc.tv jessie InRelease
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:18 http://apt.osmc.tv jessie/main armhf Packages/DiffIndex [2023 B]
Ign http://apt.osmc.tv jessie/main Translation-en
Fetched 1859 kB in 16s (112 kB/s)
Reading package lists... Done

osmc@osmc:/home$ sudo apt-get -t jessie-backports install "python3.5"
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.5
E: Couldn't find any package by regex 'python3.5'`

I’ll test Flexget with Python 3.4

Where does it say Flexget requires Python 3.5, I’m curious as to why this is necessary?

My fault, you are totally right. I thought it was on the UpgradeActions page: UpgradeActions | FlexGet But according to the InstallWizard pages it is not required and it should work with anything from 2.7 or newer. So I can safely install it without messing with Python!
Linux | FlexGet

My apologies for spamming the forum.

Reviving this old topic because I have the same question: why can we not install Python3.5?
It is now the recommended version for Flexget. Yes, it works with 2.7 but I have hit a problem/bug and need to upgrade Flexget, it is being recommended I test with 3.

EDIT: I can install 3.4 so I’ll test with that version.

Because OSMC is currently based on Debian Jessie and the latest version of Python 3 in the Debian Jessie repository is Python 3.4. Once OSMC makes the switch to Debian Stretch then Python 3.5 is included in the repository.

This is a Debian thing more than an OSMC thing.

https://packages.debian.org/search?keywords=python3.4
https://packages.debian.org/search?keywords=python3.5

Thee are possibly ways to force it (https://gist.github.com/jaydenkieran/75b2bbc32b5b70c4fdfb161ecdb6daa2 & https://jpcassidy.com/software/2016/11/29/python3-debian-jessie.html) but I myself would be more tempted to hold off till you upgrade to Stretch (This wont be too far in the future) and then get it from the main repo.