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

2020-12-23 Thread Chris Green
Mirko wrote: > On 22.12.2020 at 20:24 Chris Green wrote: > > > Yes, I do have the Python source. The only thing I don't have the > > source for is a .so file and that's why I can't simply migrate the > > program(s) from Python 2 to Python 3. > > > > If it's just one .so and that library is

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

2020-12-22 Thread Mirko via Python-list
On 22.12.2020 at 20:24 Chris Green wrote: > Yes, I do have the Python source. The only thing I don't have the > source for is a .so file and that's why I can't simply migrate the > program(s) from Python 2 to Python 3. > If it's just one .so and that library is compatible with basic libs such

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

2020-12-22 Thread Grant Edwards
On 2020-12-22, Chris Green wrote: > Grant Edwards wrote: > >> I should have mentioned that bundlers like cx_freeze require that you >> have the Python source for the main app. I don't remember if you >> mentioned source or not... > > Yes, I do have the Python source. The only thing I don't have

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

2020-12-22 Thread Chris Green
Grant Edwards wrote: > On 2020-12-22, Chris Green wrote: > > Grant Edwards wrote: > >> On 2020-12-22, Chris Green wrote: > >> > [...] > >> > > >> > How realistic/possible would it be to run the utility in a separate > >> > environment with its own copies of Python2 and any modules and > >> >

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

2020-12-22 Thread Grant Edwards
On 2020-12-22, Chris Green wrote: > Grant Edwards wrote: >> On 2020-12-22, Chris Green wrote: >> > [...] >> > >> > 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? I would install

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

2020-12-22 Thread Chris Green
Grant Edwards wrote: > On 2020-12-22, Chris Green wrote: > > [...] > > > > 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? I would install these 'by hand', i.e. not using > > 'apt' so

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

2020-12-22 Thread Chris Angelico
On Wed, Dec 23, 2020 at 2:21 AM Chris Green 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

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

2020-12-22 Thread Grant Edwards
On 2020-12-22, Chris Green wrote: > [...] > > 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? I would install these 'by hand', i.e. not using > 'apt' so they would stay as installed even as

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

2020-12-22 Thread Michael Torrie
On 12/22/20 9:44 AM, Chris Green wrote: > I have it running on 20.04 (with a couple of compatibility packages > from a PPA) but I know I start hitting problems as soon as I move to > 20.10. So that does sound like an excellent idea. Where can I find > information about building container type

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

2020-12-22 Thread Chris Green
Michael Torrie wrote: > On 12/22/20 8:10 AM, Chris Green 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

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

2020-12-22 Thread Grant Edwards
On 2020-12-22, Chris Green 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

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

2020-12-22 Thread Michael Torrie
On 12/22/20 8:10 AM, Chris Green 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

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

2020-12-22 Thread Chris Green
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