Update install.sh

This commit is contained in:
2025-04-10 17:35:05 +00:00
parent f96fc9686f
commit bbaa720775

View File

@@ -60,7 +60,7 @@ cd "$PROJECT_DIR" || { echo "Failed to navigate to project directory."; exit 1;
# Step 6: Install Python dependencies
echo "Installing Python dependencies from requirements.txt..."
pip install -r requirements.txt
pip install -r requirements.txt --break-system-packages
# Step 7: Install system dependencies for ffpyplayer
echo "Installing system dependencies for ffpyplayer..."
@@ -69,7 +69,7 @@ sudo apt-get install -y libavcodec-dev libavformat-dev libavdevice-dev libavutil
# Step 8: Install ffpyplayer
echo "Installing ffpyplayer..."
pip install ffpyplayer
pip install ffpyplayer --break-system-packages
# Step 9: Create a systemd service for autostart
echo "Creating systemd service for autostart..."