Update install.sh
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user