virtualenv: add python version example (#2851)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
ad348f3ee1
commit
209ceee876
@@ -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`
|
||||||
|
Reference in New Issue
Block a user