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

13 lines
257 B
Bash
Raw Normal View History

2019-12-12 00:13:55 +00:00
#!/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