File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ Go to your project’s working directory:
1414
1515``` bash
1616$ cd your-bot-source
17- $ python3 -m venv bot-env
17+ $ python3 -m venv venv
1818```
1919Activate the virtual environment:
2020
2121``` bash
22- $ source bot-env /bin/activate
22+ $ source venv /bin/activate
2323```
2424On Windows you activate it with:
2525
2626``` batch
27- $ bot-env \Scripts\activate.bat
27+ $ venv \Scripts\activate.bat
2828```
2929Use pip like usual:
3030
@@ -47,7 +47,7 @@ pip install -r requirements.txt
4747```
4848
4949To 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):
5151```
52- bot-env /
52+ venv /
5353```
You can’t perform that action at this time.
0 commit comments