Anssi Saari <anssi.sa...@debian-user.mail.kapsi.fi> wrote: > Chris Green <c...@isbd.net> 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.
It's not just Python 2, it's a whole collection of supporting libraries as well. Yes, it *can* be done with pyenv but it's hardly a straightforward process. As it is, as I reported elsewhere, I have found a relatively simple way to do what I want using distrobox. It's probably rather more 'heavyweight' in terms of resources used than pyenv would be but it's certainly very simple to get it working. The system I'm running it on is quite fast and well resourced so running what I need with:- distrobox enter ubuntu-18-02 -e <python2 GTK program> is 'instant' from the user point of view. The <python2 GTK program> just installed with no problems on the ubuntu18.04 image from the .deb file it came in. -- Chris Green ยท