Skip to content

Commit b86d005

Browse files
committed
Clarify Pi setup prerequisites in deployment README
1 parent ffbf8f1 commit b86d005

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

pi-deployment/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ This folder intentionally mirrors the runtime-relevant parts of `software/`:
3737

3838
**IMPORTANT:** Packages are installed to **system Python** (no virtual environment). The setup script uses `--user` flag to avoid permission issues.
3939

40+
**IMPORTANT:** Running `pip install -r requirements-pi.txt` alone is **not sufficient**. You must install the system packages first (camera + OpenCV + BLAS/LAPACK). The setup script does this for you, but if you run steps manually, use:
41+
42+
```bash
43+
sudo apt-get update
44+
sudo apt-get install -y python3-spidev python3-rpi.gpio python3-picamera python3-numpy python3-opencv
45+
sudo apt-get install -y libatlas-base-dev libatlas3-base libblas3 liblapack3
46+
```
47+
4048
**Prerequisites:** Ensure you've copied all files from `pi-deployment/` to `~/rio-controller/` on your Pi (see [Copying Deployment to Pi](#copying-deployment-to-pi) below).
4149

4250
```bash

scripts/deploy/create-pi-deployment.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,14 @@ This folder intentionally mirrors the runtime-relevant parts of `software/`:
364364
365365
**IMPORTANT:** Packages are installed to **system Python** (no virtual environment). The setup script uses `--user` flag to avoid permission issues.
366366
367+
**IMPORTANT:** Running `pip install -r requirements-pi.txt` alone is **not sufficient**. You must install the system packages first (camera + OpenCV + BLAS/LAPACK). The setup script does this for you, but if you run steps manually, use:
368+
369+
```bash
370+
sudo apt-get update
371+
sudo apt-get install -y python3-spidev python3-rpi.gpio python3-picamera python3-numpy python3-opencv
372+
sudo apt-get install -y libatlas-base-dev libatlas3-base libblas3 liblapack3
373+
```
374+
367375
**Prerequisites:** Ensure you've copied all files from `pi-deployment/` to `~/rio-controller/` on your Pi (see [Copying Deployment to Pi](#copying-deployment-to-pi) below).
368376
369377
```bash

0 commit comments

Comments
 (0)