pyvenvs.md
· 308 B · Markdown
Orginalformat
How do I do that _virtual environment_ thing again?
### Create python virtual environment
```bash
# to create a venv
python3 -m venv venv
# to start it
source venv/bin/activate
```
### Install dependencies
```bash
pip install -r requirements.txt
```
### De-activate the Venv
```bash
deactivate
```
How do I do that virtual environment thing again?
Create python virtual environment
# to create a venv
python3 -m venv venv
# to start it
source venv/bin/activate
Install dependencies
pip install -r requirements.txt
De-activate the Venv
deactivate