File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ Go to your project’s working directory:
14
14
15
15
``` bash
16
16
$ cd your-bot-source
17
- $ python3 -m venv bot-env
17
+ $ python3 -m venv venv
18
18
```
19
19
Activate the virtual environment:
20
20
21
21
``` bash
22
- $ source bot-env /bin/activate
22
+ $ source venv /bin/activate
23
23
```
24
24
On Windows you activate it with:
25
25
26
26
``` batch
27
- $ bot-env \Scripts\activate.bat
27
+ $ venv \Scripts\activate.bat
28
28
```
29
29
Use pip like usual:
30
30
@@ -47,7 +47,7 @@ pip install -r requirements.txt
47
47
```
48
48
49
49
To keep from committing your virtual environment to git, you can set up a .gitignore file with the following line
50
- (assuming you named your virtual environment bot-env like the above example):
50
+ (assuming you named your virtual environment venv like the above example):
51
51
```
52
- bot-env /
52
+ venv /
53
53
```
You can’t perform that action at this time.
0 commit comments