pyenv Tutorial

1. Install Python version:

$ pyenv install 3.6.7

 

2. Create virtual environment:

$ pyenv virtualenv 3.6.7 my_venv

 

3. Activate your virtual environment:

pyenv activate my_venv