Fixing for raspberrypi

This commit is contained in:
2026-03-17 00:59:27 +00:00
parent 7b06e9c6dd
commit c681c35955
3 changed files with 66 additions and 7 deletions

14
scripts/setup_pi.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
echo "Installing system dependencies..."
sudo apt-get update -qq
sudo apt-get install -y libcap-dev python3-prctl python3-picamera2
echo "Configuring Poetry to use system site-packages..."
poetry config virtualenvs.options.system-site-packages true
echo "Installing Python dependencies..."
poetry install
echo "Done!"