Chris Green <[email protected]> writes: > But there is no Python 2 available for Debian 12...
That's just what's in the package manager. Python source code is available and from that any Python version can be built. Pyenv is a tool which makes that easy.

