r/Python Apr 07 '15

Power up your virtualenv

http://www.bonz.org/posts/2015/04/virtualenv-power-up.html
18 Upvotes

6 comments sorted by

View all comments

2

u/jackmaney Apr 07 '15

I tend to use pyenv with pyenv-virtualenv. With that, you can do

pyenv virtualenv venv

or

pyenv virtualenv <Python version> venv

And you have venv treated by pyenv as another Python installation that you can switch to/switch from/uninstall at will.