pygame now included in installer

Now pygame will also be installed when the install.sh script is executed. Pip is required.
pull/2/head
Julius Riegel 7 years ago
parent 5e4974327b
commit 179766d96e

@ -2,7 +2,7 @@
<project version="4"> <project version="4">
<component name="ProjectModuleManager"> <component name="ProjectModuleManager">
<modules> <modules>
<module fileurl="file://$PROJECT_DIR$/.idea/für Robotototo.iml" filepath="$PROJECT_DIR$/.idea/für Robotototo.iml" /> <module fileurl="file://$PROJECT_DIR$/.idea/spydian.iml" filepath="$PROJECT_DIR$/.idea/spydian.iml" />
</modules> </modules>
</component> </component>
</project> </project>

@ -8,4 +8,13 @@ sudo apt install i2c-tools
sudo pip install adafruit-pca9685 sudo pip install adafruit-pca9685
sudo apt install vsftpd sudo apt install vsftpd
sudo apt install vlc sudo apt install vlc
sudo modprobe bcm2835-v4l2 sudo modprobe bcm2835-v4l2
if [hash pip3];then
pip install pygame
exit 0
fi
if [hash pip];then
pip install pygame
exit 0
fi
exit 1
Loading…
Cancel
Save