Fixing for raspberrypi
This commit is contained in:
14
scripts/setup_pi.sh
Executable file
14
scripts/setup_pi.sh
Executable 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!"
|
||||
Reference in New Issue
Block a user