pyenv-virtualenv

pyenv-virtualenv

TLDR

Create a new Python 3.6.6 virtual environment

$ pyenv virtualenv [3.6.6] [virtualenv_name]
copy


List all existing virtual environments
$ pyenv virtualenvs
copy


Activate a virtual environment
$ pyenv activate [virtualenv_name]
copy


Deactivate the virtual environment
$ pyenv deactivate
copy

Copied to clipboard