Python Virtual Environment Tools

Debates comparing traditional tools like virtualenv, venv, and pip to modern alternatives such as Poetry, Pipenv, PDM, pyenv, and Conda for managing Python dependencies and isolated environments.

📉 Falling 0.5x Programming Languages
4,845
Comments
19
Years Active
5
Top Authors
#7094
Topic ID

Activity Over Time

2008
2
2009
11
2010
49
2011
76
2012
170
2013
226
2014
125
2015
138
2016
163
2017
242
2018
452
2019
385
2020
397
2021
398
2022
387
2023
586
2024
555
2025
480
2026
3

Keywords

Node.js VENV HN PATH python.org PyPi setup.cfg CI requirements.text CD venv pip pipenv python virtual poetry vanilla install environment packages

Sample Comments

integralid Aug 14, 2025 View on HN

What's wrong with just using virtualenv. I never used anything else, and I never felt the need to. Maybe it's not as shipping l shiny as the other tools, but it just works.

lastgeniusua Aug 1, 2020 View on HN

pipenv is a sort of a spliced-together pip and virtualenv, give it a try!

kingbirdy Aug 12, 2019 View on HN

That's what virtualenvs are for. Admittedly they're not a perfect solution but the tooling is quite good nowadays.

StreamBright Nov 16, 2021 View on HN

Interesting take. I use Python daily and virtualenv is really good for our use cases (running CI/CD, testing installation and running in production in a container). I am not experiencing too many problems with pip + venv. We also maintain our own libraries and even those were relatively easy to set up. Mypy and yapf also helps to maintain a style and type correctness (do not pass in None accidentally).

ausjke Aug 13, 2019 View on HN

what poetry can do that venv can not do? considering venv is the default tool and is solid and fairly easy to use already?

throwadobe Jul 3, 2024 View on HN

For what it's worth, I still prefer to use pip, python -m venv and virtualenvwrapper. Solves 99% of the issues with 1% of the complexity

v3ss0n Oct 7, 2024 View on HN

Not if you use proper python env and package management tools like pdm or poetry.

mherrmann Jan 31, 2021 View on HN

Except plain old virtual environments instead of poetry. And pyenv only if really really necessary, and not in prod.

CivBase Aug 14, 2025 View on HN

I feel like I must be the crazy one for never having a problem with just vanilla pip, PyPi, and venv (or virtualenv for old Python 2 stuff). Maybe it's just my use case?

simonw Jul 13, 2024 View on HN

"I don't want a bunch of venvs"That's your problem right there.Virtual environments are the Python ecosystem's solution to the problem of wanting to install different things on the same machine that have different conflicting requirements.If you refuse to use virtual environments and you install more than one separate Python project you're going to run into conflicting requirements and it's going to suck.Have you tried pipx? If you're just inst