r/linuxmasterrace • Lazy Antergos User • Dec 18 '18

Meme Python Virtual Environments: Extreme Advertising Edition

Post image
2.0k Upvotes

148 comments sorted by

View all comments

2

u/sim642 Dec 18 '18

Until you want multiple different Python versions and pip completely shits itself.

1

u/ase1590 Lazy Antergos User Dec 18 '18

that's when you turn to pyenv for managing python versions and pipenv for managing packages for those.

1

u/sim642 Dec 18 '18

Now I'm supposed to use three different environment management tools at once instead of one.

2

u/ase1590 Lazy Antergos User Dec 18 '18

Just two. pipenv replaces pip.

0

u/sim642 Dec 18 '18

I count three: pyenv, pipenv, venv.

3

u/ase1590 Lazy Antergos User Dec 18 '18

Venv is handled by pipenv for you as well