Hacker News new | ask | show | jobs
by theshrike79 590 days ago
What would be your solution to running, say, 15 different Python applications on the same machine, each requiring a unique set of library versions?
3 comments

Create 15 pex files. Or possibly 15 PyInstaller executables. Then simply run them like normal programs.
Ah yes let's not use bad abstractions like docker, let's use pyinstaller...
Why would you load an entire userspace environment just to manage a Python package's Python dependencies? Seems a little heavy.
https://github.com/claceio/clace is a project I am building for that use case. Run multiple apps on the same machine, Clace acts as an application server which manages containers https://clace.io/blog/appserver/
nix