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