Fixed a PIL version issue

Specified the PIL version in the installer to 5.3.0 due to a bug with the latest version.
Also, fixed some regex error messages.
This commit is contained in:
Ace 2019-01-05 15:52:49 +01:00 committed by GitHub
parent 8e53ef63f4
commit c8c676c584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,9 +43,9 @@ echo ""
# Installing a few packages which are missing on Raspbian Stretch Lite # Installing a few packages which are missing on Raspbian Stretch Lite
echo -e "\e[1;36m"Installing a few packages that are missing on Raspbian Stretch Lite..."\e[0m" echo -e "\e[1;36m"Installing a few packages that are missing on Raspbian Stretch Lite..."\e[0m"
{ {
sudo apt-get install python3-pip RPi.GPIO python3-spidev git libopenjp2-7-dev libtiff5 -y sudo apt-get install python3-pip python-rpi.gpio-dbgsym python3-rpi.gpio python-rpi.gpio python3-rpi.gpio-dbgsym python3-spidev git libopenjp2-7-dev libtiff5 -y
pip3 install Pillow pip3 install Pillow==5.3.0
sudo pip3 install Pillow sudo pip3 install Pillow==5.3.0
} > /dev/null } > /dev/null
echo "" echo ""