Closed hnnweb closed 1 year ago
I'm still testing the localization, I need to reformat my Pi anyway. I'll combine that with testing this and add the package to the instructions
I've just done a fresh reinstall. A change I've made now is to do the setup in a Python virtual environment, to reduce problems with the rest of the OS. I've not seen a problem so far so I'm adding it to the README.
I've done two fresh installs, with the new instructions, without problems, so I think this is solved now. I'll close it but can reopen if it happens again.
Hi, this error still occurs.
DISPLAY ON EPAPER
---------------------------------------
Traceback (most recent call last):
File "/home/hnn/waveshare-epaper-display/display.py", line 6, in <module>
from PIL import Image
File "/home/hnn/waveshare-epaper-display/.venv/lib/python3.9/site-packages/PIL/Image.py", line 100, in <module>
from . import _imaging as core
ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory```
Fresh install on RPi Zero W rev 1.1
Hmm I did 5 fresh installs over the past few weeks but didn't have to add that, are we using the same image? I used the Raspberry Pi OS Imager
Well I guess no harm if I add the libopenjp2-7 package to the instructions, but I don't know why.
I've added it
The solution is to install the following package:
sudo apt-get install libopenjp2-7