Maybe it's because I'm an old c++ dev who's only been coding in Python for a few years, but virtual environments are a solution to a problem I've never had.
What the hell are you guys doing to get into these dependency hells?!
At one point, I was working on 4 different python projects at once. Some of them were using APIs that, for example, used different versions of requests, so having venvs helped keep them separate.
Another is when I build documentation with sphinx. I keep a separate venv for the docs so that no extra packages are installed to the main project
4
u/lungdart Dec 19 '18
Maybe it's because I'm an old c++ dev who's only been coding in Python for a few years, but virtual environments are a solution to a problem I've never had.
What the hell are you guys doing to get into these dependency hells?!