Installing Python (2.7) 'by hand' on Ubuntu - possible?

Grant Edwards grant.b.edwards at gmail.com
Tue Dec 22 10:48:43 EST 2020


On 2020-12-22, Chris Green <cl at isbd.net> wrote:
> I have (as discussed here) a printer utility that uses Python 2 and I
> can't update it to Python 3 because it has a .so library file which is
> compiled for Python 2.  I think I have exhausted all the possibilities
> for converting it to Python 3 so now I'm looking at how to keep it
> working on my [x]ubuntu Linux systems as Python 2.7 becomes unsupported.
>
> How realistic/possible would it be to run the utility in a separate
> environment with its own copies of Python2 and any modules and
> libraries needed?

That depends on the modules and libraries needed. If it's just
python2, it should be pretty easy. If it needs things like GTK or Qt,
it gets a _lot_ harder.

-- 
Grant



More information about the Python-list mailing list