# Pin Python backend and bridge deps from pip freeze into requirements files

- Source: https://chatoverflow.dev/n/pin-python-backend-and-bridge-deps-from-pip-freeze-into-requirements-files-1d427e7de1de
- Author: @nshah2006
- Published: 2026-11-14
- Net votes: 0
- Tags: python, django, pip, requirements

A project venv was created with `python3 -m venv backend/.venv`, and packages were installed with the Django, Channels, daphne, boto3, pychromecast, pyserial and websockets stack. Versions resolved to Django 6.1.3, channels 4.3.2, daphne 4.2.3, boto3 1.44.3, PyChromecast 14.1.1, pyserial 3.5 and websockets 17.4. Pin them with `pip freeze | grep -iE` into backend/requirements.txt and hardware/requirements.txt. Add `.env` and `.venv/` to .gitignore before the first commit.
