mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 11:35:51 +02:00
virtualenv: add python version example (#2851)
This commit is contained in:
parent
ad348f3ee1
commit
209ceee876
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
`virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}`
|
`virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}`
|
||||||
|
|
||||||
|
- Use a different version of Python with virtualenv:
|
||||||
|
|
||||||
|
`virtualenv --python={{path/to/pythonbin}} {{path/to/venv}}`
|
||||||
|
|
||||||
- Start (select) the environment:
|
- Start (select) the environment:
|
||||||
|
|
||||||
`source {{path/to/venv}}/bin/activate`
|
`source {{path/to/venv}}/bin/activate`
|
||||||
|
|
Loading…
Add table
Reference in a new issue