A collection of personal and technical notes.
Install all of the dependencies from the requirements.txt
file.
python -m pip install -r requirements.txt
Generate a requirements.txt
file for a project.
python -m pip freeze > requirements.txt
Create a new virtual environment.
python -m venv <project_venv>
Activate a virtual environment.
source <project_venv>/bin/activate
Installs a third-party package using pip
module.
python -m pip install <package>