I'm tired of having to look these up everytime I need them, so I'm writing them down.
- Creation
- Install the package:
pip3 install virtualenv
- Create environment:
python3 -m venv env
- Install the package:
- Activation
- Activate environment:
source env/bin/activate
- Deactivate:
deactivate
- Activate environment:
- Requirements
- Save requirements:
pip3 freeze > requirements.txt