https://docs.python.org/3/library/zipapp.html
Using the zipapp module, it is possible to create self-contained Python programs, which can be distributed to end users who only need to have a suitable version of Python installed on their system. The key to doing this is to bundle all of the application’s dependencies into the archive, along with the application code
Venv+pip or pipx are also fairly good if you have a pip registry.