From a997d0eceefd50ccd45174a7ed9d444dc683d01c Mon Sep 17 00:00:00 2001 From: Yossi Date: Thu, 13 Apr 2017 14:05:51 +0300 Subject: [PATCH] install piCamera threw apt-get --- stage2/01-sys-tweaks/01-run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index e31c743..ef60686 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -156,8 +156,9 @@ sudo rm opencv-3.1.0.zip echo "========== Install picamera ============" -sudo pip install picamera -sudo pip install picamera[array] +export READTHEDOCS="True" +sudo apt-get install python-picamera + # enable camera on raspi-config echo "" >> /boot/config.txt echo "#enable piCaera" >> /boot/config.txt