I am trying to install Python 3.9, but Debian comes with 3.7.
When I run sudo apt install python3.9, I receive this:
E: Unable to locate package python3.9 E: Couldn't find any package by glob 'python3.9' E: Couldn't find any package by regex 'python3.9' When I run sudo apt install python3, I get this:
python3 is already the newest version (3.7.3-1). I've manually went and found that there is in fact Python 3.9 on Debian's servers. It's located here.
I then downloaded the deb file for Python 3.9 and ran sudo apt install ./python3.9*, I resulted in this:
Note, selecting 'python3.9' instead of './python3.9_3.9.6-1_i386.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python3.9 : Depends: python3.9-minimal (= 3.9.6-1) but it is not installable Depends: libpython3.9-stdlib (= 3.9.6-1) but it is not installable E: Unable to correct problems, you have held broken packages. I then downloaded the deb files for these two and tried the same thing, but it ended up with more dependencies that are 'not installable'.
I know that you cannot install packages that are not configured for the version of Debian I am running, but is there a way to install Python 3.9? Is there a way to install it without building it from source?
I am running Debian 10.10 (buster) with the i386 (32-bit) architecture.
My sources.list (I am using the Australian mirror):
deb http://ftp.au.debian.org/debian/ buster main deb-src http://ftp.au.debian.org/debian/ buster main deb http://ftp.au.debian.org/debian/ buster/updates main deb-src http://ftp.au.debian.org/debian/ buster/updates main # buster-updates, previously known as 'volatile' # deb http://ftp.au.debian.org/debian/ buster-updates main # deb-src http://ftp.au.debian.org/debian/ buster-updates main