File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Virtual Python Environment or venv is a Python environment which will help you t
9
9
Installation
10
10
============
11
11
12
- In Python3 now there is a command called * pyvenv * which can be used to create virtual environments.
12
+ In Python3 we can use the * venv * module to create virtual environments.
13
13
14
14
Usage
15
15
=====
@@ -21,7 +21,7 @@ The following commands will create an env called virt1.
21
21
::
22
22
23
23
$ cd virtual
24
- $ pyvenv virt1
24
+ $ python3 -m venv virt1
25
25
$
26
26
27
27
Now we can activate the virt1 environment.
@@ -56,7 +56,7 @@ Now we will create another virtual environment *virt2* where we will install the
56
56
57
57
::
58
58
59
- $ pyvenv virt2
59
+ $ python3 -m venv virt2
60
60
$ source virt2/bin/activate
61
61
(virt2)$
62
62
(virt2)$ pip install redis==2.4
You can’t perform that action at this time.
0 commit comments