install piCamera threw apt-get

pull/155/head
Yossi 2017-04-13 14:05:51 +03:00
parent a0191799c6
commit a997d0ecee
1 changed files with 3 additions and 2 deletions

View File

@ -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