fix: use venv pip to avoid externally-managed-environment error
This commit is contained in:
@@ -32,7 +32,7 @@ source .venv/bin/activate
|
|||||||
|
|
||||||
# 3. Check and Install Backend Dependencies
|
# 3. Check and Install Backend Dependencies
|
||||||
echo "📦 Updating Python 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
|
# 4. Get Local IP and set environment variables
|
||||||
LOCAL_IP=$(hostname -I | awk '{print $1}' || echo "localhost")
|
LOCAL_IP=$(hostname -I | awk '{print $1}' || echo "localhost")
|
||||||
|
|||||||
Reference in New Issue
Block a user