jfoot / Bus-Departure-Board

A selection of Python programs which will retrieve live bus and rail UK open data and output it to a ER-OLEDM032 (256X64) display screen.
https://departureboard.jonathanfoot.com/
46 stars 9 forks source link

Unable to install on Raspberry Pi Zero WH #39

Open barronoid2 opened 2 weeks ago

barronoid2 commented 2 weeks ago

Describe the bug I have tried a few times to install Departure Board on a Raspberry Pi Zero WH. I've tried it with both the Lite and Legacy Lite 32 bit OS.

There is an error this early step:

display@raspberrypia:~ $ sudo apt install python3-dev python3-pip python3-numpy python3-lxml libfreetype6-dev libjpeg-dev build-essential python3-pil zlib1g-dev liblcms2-dev libopenjp2-7 libtiff6 -y Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libtiff6

Then it fails on the final step:

(Bus-Departure-Board) display@raspberrypia:~/Bus-Departure-Board $ python3 DemoPy3.py Traceback (most recent call last): File "/home/display/Bus-Departure-Board/DemoPy3.py", line 12, in from PIL import ImageFont, Image, ImageDraw File "/home/display/Bus-Departure-Board/lib/python3.9/site-packages/PIL/ImageFont.py", line 39, in from . import Image File "/home/display/Bus-Departure-Board/lib/python3.9/site-packages/PIL/Image.py", line 100, in from . import _imaging as core ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory

Can you help? Thanks Andrew

jfoot commented 2 weeks ago

Hey @barronoid2, I'll try and take a look into this on the weekend, I'll dig out my old Pi Zero.

barronoid2 commented 2 weeks ago

Thanks. I appreciate it.

On Wed, 18 Sep 2024 at 20:27, Jonathan Foot @.***> wrote:

Hey @barronoid2 https://github.com/barronoid2, I'll try and take a look into this on the weekend, I'll dig out my old Pi Zero.

— Reply to this email directly, view it on GitHub https://github.com/jfoot/Bus-Departure-Board/issues/39#issuecomment-2359244797, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLMHKNCIZSABZXU7EP4TAZ3ZXHH2RAVCNFSM6AAAAABONMFCC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGI2DINZZG4 . You are receiving this because you were mentioned.Message ID: @.***>