Re:C++20 coroutines: “The bug is in the C++ standard, not GC...
by eru on Wednesday October 05, 2022 @09:44PM
(#33103364)
I suggest you look into Python's Poetry package manager.
There's some ways to keep multiple isolated Python environments around on the same OS (and Poetry can help with that, too). But I would suggest that you just stick every Python program in its own dedicated docker container, if you can get away with the overhead. (There are some ways to make rather slim containers.)
Of course, it doesn't have to be docker. Any other containerisation or VMs also work.
In general, I found it a good idea to keep the host operation system as small as possible, and stick everything into containers that you can upgrade separately.
There's some ways to keep multiple isolated Python environments around on the same OS (and Poetry can help with that, too). But I would suggest that you just stick every Python program in its own dedicated docker container, if you can get away with the overhead. (There are some ways to make rather slim containers.)
Of course, it doesn't have to be docker. Any other containerisation or VMs also work.
In general, I found it a good idea to keep the host operation system as small as possible, and stick everything into containers that you can upgrade separately.