On Thu 20 Jul 2023 at 16:36:44 (+0530), Susmita/Rajib wrote: > I want to have other users run my python script on their computers, > that don't have python installer, as a standalone binary/executable. > > I searched the debian-user ML with the string, "standalone python > binary executable" but wasn't able to find a suitable solution. > > Debian repository doesn't appear to have a package called > `pyinstaller` to make a standalone executable file to be run on Linux > or doze systems that do not have python installed. > > I found that python3-pip could be used to download pyinstaller. > > But I am diffident of a separate python installer program `pip` of > which I know nothing, unlike apt and debian repository which are a > very robust framework.
You should probably read this as background: https://peps.python.org/pep-0668/ > The version of python installed in my system is > Python 3.9.2 (default, Feb 28 2021, 17:03:44) > [GCC 10.2.1 20210110] on linux So, bullseye. > Please reconsider before advising me to update `python3` to its latest > version which would mean updating my Debian to the latest stable > repository. I will definitely upgrade Debian in future, but not able > to, presently. When you do, pipx awaits: https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#python3-pep-668 Cheers, David.