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

23

u/[deleted] Dec 18 '18

pipenv over basic virtual environment setup/management is 100% more better.

6

u/banger_180 Linux Master Race Dec 18 '18

Care to explain?

20

u/[deleted] Dec 18 '18

Pipenv takes a lot of the messy stuff from pip and venv and wraps it up into a nice package. It stores the dependency per project away from where you want to write your code, it allows built-in version checking via stored hash, and maintains your pip file which is roughly equivalent to the requirements.txt that you manually update with pip. https://github.com/pypa/pipenv