tldr/pages/common/virtualenv.md

16 lines
235 B
Markdown
Raw Normal View History

2015-12-30 08:38:43 +03:00
# virtualenv
> Create virtual isolated Python environments.
2015-12-30 08:38:43 +03:00
- Create a new environment:
2015-12-30 08:38:43 +03:00
`virtualenv {{path/to/venv}}`
- Start (select) the environment:
2015-12-30 08:38:43 +03:00
`source {{path/to/venv}}/bin/activate`
- Stop the environment:
2015-12-30 08:38:43 +03:00
`deactivate`