pi-image/custom/python-installs/01-run.sh

13 lines
257 B
Bash
Executable File

#!/bin/bash -e
on_chroot << EOF
/usr/bin/python3 -m pip install pip --upgrade
/usr/bin/python3 -m pip install \
aiohttp \
pigpio \
gpiozero \
jupyter \
opencv-contrib-python-headless
systemctl enable pigpiod
systemctl daemon-reload
EOF