News for hackers. Stuff that matters.
Re:Python Virtual Environments – a Primer by ris on Monday March 28, 2016 @01:47PM (#11375885)
Frankly I just use Nix, which is a little like having virtualenvs for your entire distribution and as such can handle non-python dependencies properly.
Re:Python Virtual Environments – a Primer by pekk on Monday March 28, 2016 @02:23PM (#11376184)
Virtualenv isn't supposed to handle non-Python dependencies.

Why use Nix instead of containers or VMs?

Re:Python Virtual Environments – a Primer by ris on Monday March 28, 2016 @07:02PM (#11378171)
"Virtualenv isn't supposed to handle non-Python dependencies."

Making it kinda useless for anything like numpy or scipy.

"Why use Nix instead of containers or VMs?"

Well, why use virtualenvs instead of containers or VMs?

Because it's lighter weight and more straightforward. And doesn't require you to swap out your whole working environment every time you want a slightly different package setup.

Containers and VMs are a bad excuse for "I don't have a hope of getting the dependencies of my setup under control so I'm just going to ball them all up into this great big binary image."

Nix packages are incredibly flexible and composable in comparison.