README: Hinweis auf python3-requests für den systemd-Dienst
This commit is contained in:
1 parent
aa3f3d78bc
commit
cb21f948ee
1 file changed
+6
@@ -54,6 +54,12 @@ python3 relay.py
|
|||||||
|
|
||||||
`webcam-relay.service` liegt im Repository. Pfade und Benutzer (`/home/joachim/git/webcam`, `joachim`) bei Bedarf in der Datei anpassen.
|
`webcam-relay.service` liegt im Repository. Pfade und Benutzer (`/home/joachim/git/webcam`, `joachim`) bei Bedarf in der Datei anpassen.
|
||||||
|
|
||||||
|
Der Dienst nutzt das System-Python (`/usr/bin/python3`). Dort muss `requests` installiert sein, auch wenn es z. B. in Conda oder einem venv schon vorhanden ist:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt install python3-requests
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo cp webcam-relay.service /etc/systemd/system/
|
sudo cp webcam-relay.service /etc/systemd/system/
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
|||||||
Reference in new issue
Block a user