Closed rgres closed 4 years ago
Just found a fix for this. You need to add libgl1-mesa-glx
on line 5 for ..\modules\ImageClassifierService\arm32v7.Dockerfile and add RUN apt update && apt install -y libgl1-mesa-glx
on line 9 for ..\modules\SenseHatDisplay\arm32v7.Dockerfile
build your images again, push to the device and happy days :-)
That worked well, thank you
Merged PR 68 to master to fix this issue
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Traceback (most recent call last): File "app.py", line 10, in
from PIL import Image
File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 93, in
from . import _imaging as core
ImportError: libxcb.so.1: cannot open shared object file: No such file or directory
From Module sensehat-display:
Traceback (most recent call last): File "./main.py", line 14, in
import DisplayManager
File "/DisplayManager.py", line 1, in
import sense_hat
File "/usr/local/lib/python3.5/dist-packages/sense_hat/init.py", line 2, in
from .sense_hat import SenseHat, SenseHat as AstroPi
File "/usr/local/lib/python3.5/dist-packages/sense_hat/sense_hat.py", line 14, in
from PIL import Image # pillow
File "/usr/local/lib/python3.5/dist-packages/PIL/Image.py", line 93, in
from . import _imaging as core
ImportError: libxcb.so.1: cannot open shared object file: No such file or directory
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
Tried this multiple times with fresh installs of the pi, on pi3 and pi4