1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 15:26:04 +02:00

pyenv-virtualenv: add activate/deactivate examples (#3842)

This commit is contained in:
Joel Bastos 2020-02-07 22:52:26 +00:00 committed by GitHub
parent 5bc64c80e1
commit bc50bdf850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,8 +5,16 @@
- Create a new Python 3.6.6 virtual environment:
`pyenv virtualenv {{3.6.6}} {{my-virtual-env-3.6.6}}`
`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`