tldr/pages/common/pyenv-virtualenv.md

13 lines
331 B
Markdown

# pyenv virtualenv
> Create virtual environments based on one's installed Python distributions.
> More information: <https://github.com/pyenv/pyenv-virtualenv>.
- Create a new Python 3.6.6 virtual environment:
`pyenv virtualenv {{3.6.6}} {{my-virtual-env-3.6.6}}`
- List all existing virtual environments:
`pyenv virtualenvs`