fix: use venv pip to avoid externally-managed-environment error

This commit is contained in:
2026-04-18 13:39:37 +00:00
parent 5e0ffe6d80
commit 8b6dc0db33

View File

@@ -32,7 +32,7 @@ source .venv/bin/activate
# 3. Check and Install Backend Dependencies
echo "📦 Updating Python dependencies..."
pip install -r backend/requirements.txt
.venv/bin/pip install -r backend/requirements.txt
# 4. Get Local IP and set environment variables
LOCAL_IP=$(hostname -I | awk '{print $1}' || echo "localhost")