Hacker News new | ask | show | jobs
by spoondan 2202 days ago
For the specific problem of easily setting up Python environments, you may wish to look into pipenv: https://pipenv.pypa.io/en/latest/
4 comments

I would generally recommend poetry over pipenv.
Pipenv is a bit deprecated, Poetry is the current recommendation (and what I use).
Pipenv and poetry seems ok, but before those two (and wheel) we use conda and it covers our need.

And this is my top concern when introducing python to new team.

There still no 'single' way to do this.

The problem with conda is that it's what broke the machine I was talking about. Apparently it doesn't very much like when you use a package manager other than conda, and things break in subtle ways.
pipenv felt like it took forever to complete simple tasks. I briefly used it for a small project and quickly realized that it was a mistake. I now just use conda environment.yml and a requirements.txt, those two cover most bases I feel like.
Agree 100%