Re: How could a standalone python binary executable be made from a python script, to be run on other computers that don't have python installed?
From: Greg Wooledge <greg@wooledge.org>
Date: Wed, 26 Jul 2023 22:14:01 -0400
Message-id: <[🔎] [🔎] ZMHS6ajl2JZOimOu@wooledge.org>
Mail-followup-to: debian-user@lists.debian.org
In-reply-to: <[🔎]
[🔎] CAEG4cZXBJ3CbFUN1LuRQsKR=XJkzuw92LxLnRXWKxaE-Ery_VA@mail.gmail.com>
References: <[🔎]
[🔎] CAEG4cZXe=BUQ5VE_z0rcLqHGGERdANnZ=VjiznjBK439Jifmbw@mail.gmail.com>
and others
> On Thu, Jul 27, 2023 at 07:08:35AM +0530, Susmita/Rajib wrote:
>> I have considered myself as the 1st party. Debian universe as the 2nd
>> party and the rest as the 3rd party. So by my consideration, anything
>> 'Python' outside of the Debian Universe is 3rd party. I have rarely
>> install software outside of the Debian Universe.
>
> For Python development questions such as yours, you've got things
> upside down.
[ ... ]
> Users on this mailing list are a wildcard. Most people do not possess
> the detailed Python knowledge that you're requesting. But if someone
> here happens to know Python development extremely well, they might have
> an answer for you. This includes any pages on the Debian wiki, WHICH
> IS WRITTEN BY END USERS, not by the Debian project.
I totally am in full agreement with what you say, Mr. Wooledge.
But I am unsure whether will my poor system be able to cope with virtualisation.
Is there something called a bare minimum virtualisation, where only
the python environment could be in a 'cage', isolated from the rest
system, so that irrespective of the virtual environment resides or is
removed the system remains in its pristine state?
I have considered creating a new 'user' and installing various python
packages there. But that doesn't happen. There are components that
install with 'root-level' privileges. They can't be removed by just
removing the 'user'.
I have HDD space for a new installation. But a fresh installation takes time.
Two decades back, in 2003, I had bought a software called Acronis OS
selector. It was Version 6, probably. It could duplicate an
installation in just minutes and I could boot from that duplicate OS
with a separate boot menu it also created. Or keep the copied system
as a snapshot/backup. From the feel I could clearly make out that it
was based on Unix(or Linux)-type OS.
Whole partitions could be moved, resized, manipulated, ..., almost
anything one could imagine!
I am unsure if Debian has something like that. Would have solved these problems.
Reply to: