Skip to content

Commit 1670615

Browse files
committed
Merge pull request #474 from syndbg/master
Added more info in virtualenvs.rst.
2 parents e8fedc3 + b526bb0 commit 1670615

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/dev/virtualenvs.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ Basic Usage
3232
This creates a copy of Python in whichever directory you ran the command in,
3333
placing it in a folder named :file:`venv`.
3434

35+
You can also use a Python interpreter of your choice.
36+
37+
.. code-block:: console
38+
39+
$ virtualenv -p /usr/bin/python2.7 venv
40+
41+
This will use the Python interpreter in :file:`/usr/bin/python2.7`
42+
3543
2. To begin using the virtual environment, it needs to be activated:
3644

3745
.. code-block:: console

0 commit comments

Comments
 (0)