System Grab Bag

View all TLDR pages from common (or from all pages)

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}} {{virtualenv_name}}
  • List all existing virtual environments:
    pyenv virtualenvs
  • Activate a virtual environment:
    pyenv activate {{virtualenv_name}}
  • Deactivate the virtual environment:
    pyenv deactivate

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.