(Replying to PARENT post)

> If you’re on Linux, you should use the system Python provided by your operating system. You will be able to complete most of this tutorial using a non-system Python, but you won’t be able to package your application for distribution to others.

Why not?

👤yellowapple🕑2y🔼0🗨️0

(Replying to PARENT post)

Probably because it doesn't actually package the Python interpreter into the executable and relies on a hashbang (ie. `#!/bin/python`) to actually run the bundled source files. Pex [0] does the same thing.

It's a half solution at best, but if you control the infrastructure it does dramatically simplify things like Dockerfiles and other deployment stuff. Not super useful for general distribution IMO.

[0]: https://pex.readthedocs.io/en/v2.1.140/

👤packetlost🕑2y🔼0🗨️0