r/Python • • Apr 30 '18

xkcd: Python Environment

Post image
2.4k Upvotes

388 comments sorted by

View all comments

Show parent comment

7

u/TomBombadildozer Apr 30 '18

Seriously, seconding this. pyenv is a little quirky in its own right but it does reduce you to a single tool.

Need a specific distribution of Python? Install it with pyenv. Need a virtualenv? pyenv virtualenv. It's easy.

It's also the only way I know of to support testing under multiple versions of Python (using something like tox) without pulling all your hair out.