4 ms·
I don't get why I'd want to use virtualenv if my production servers allow global package installation. Ideally my Python deployment should be the only thing run
by rudd 16y ago
I don't get why I'd want to use virtualenv if my production servers allow global package installation. Ideally my Python deployment should be the only thing running on the server, right? In that case, having a virtualenv seems like overkill. And for local development, it's just a hassle to have to enter the virtualenv every time I want to run the code, when I could just have the needed packages installed globally.
- girasquid 16y agoBut what happens when you're working on 2-3 different projects, and one of them needs BeautifulSoup 1.1, while the other is relying on some package that breaks with BeautifulSoup > 1.0? That's where virtualenv comes in handy.