Technotes

Technotes for future me

Virtual environment

Activate virtual environment for python

virtualenv -p /usr/bin/python3 venv
source venv/bin/activate

Deactivate virtual environment for python

deactivate

Output installed packages in requirements format

pip freeze
pip freeze > requirements.txt

Install packages

pip install -r requirements.txt
Last updated on 31 Jan 2021
Published on 3 Dec 2020
Edit on GitHub