Browse Source

Update pi-eyes.sh to use python-pil, don't --force-yes

Phillip Burgess 2 months ago
parent
commit
6f4c6b3e3c
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      pi-eyes.sh

+ 3
- 2
pi-eyes.sh View File

@@ -12,7 +12,7 @@ echo "This script installs software for the Adafruit"
12 12
 echo "Snake Eyes Bonnet for Raspberry Pi. Steps include:"
13 13
 echo "- Update package index files (apt-get update)"
14 14
 echo "- Install Python libraries: numpy, pi3d, svg.path,"
15
-echo "  python-dev, python-imaging"
15
+echo "  python-dev, python-pil"
16 16
 echo "- Install Adafruit eye code and data in /boot"
17 17
 echo "- Enable SPI0 and SPI1 peripherals if needed"
18 18
 echo "- Set HDMI resolution, disable overscan"
@@ -143,7 +143,8 @@ echo "Updating package index files..."
143 143
 apt-get update
144 144
 
145 145
 echo "Installing Python libraries..."
146
-apt-get install -y --force-yes python-pip python-dev python-imaging python-smbus
146
+# WAS: apt-get install -y --force-yes python-pip python-dev python-imaging python-smbus
147
+apt-get install -y python-pip python-dev python-pil python-smbus
147 148
 pip install numpy pi3d svg.path adafruit-ads1x15
148 149
 # smbus and ads1x15 Python libs are installed regardless whether ADC
149 150
 # is enabled; simplifies the Python code a little (no "uncomment this")

Loading…
Cancel
Save