venv update
This commit is contained in:
+8
-8
@@ -1,21 +1,21 @@
|
||||
To create a new Virtual Environment (venv) run the following in the root folder of your project
|
||||
'''
|
||||
```bash
|
||||
% python3 -m venv venv
|
||||
'''
|
||||
```
|
||||
|
||||
To activate the venv
|
||||
'''
|
||||
```bash
|
||||
% source venv/bin/activate
|
||||
'''
|
||||
```
|
||||
|
||||
Your terminal should then look like this
|
||||
'''
|
||||
```bash
|
||||
% (venv) jonas@bendorama %
|
||||
'''
|
||||
```
|
||||
|
||||
If it doesn't make sure you run the source command before working on your project.
|
||||
|
||||
To deactivate the venv just run
|
||||
'''
|
||||
```bash
|
||||
% deactivate
|
||||
'''
|
||||
```
|
||||
Reference in New Issue
Block a user