New inky impression 7.3 on a Pi 2W with fresh latest Raspbian lite install (no desktop).
Trying to follow instructions here
OK, first off, after running ./install.sh the install bails with a message about an error building the wheel for Pillow. Looking further back I see something like "“The headers or library files could not be found for jpeg”
googling got me “by default, PIL doesn’t have jpeg support on the Raspberry Pi”.
and then re-ran ./install.sh
This time it completed OK but when I answered yes about generating documentation I got a few traceback errors and then it announced it was all done.
Now I try set the virtual environment with
source ~/.virtualenvs/pimoroni/bin/activate
and change into the directory ~/Pimoroni/inky/examples/7colour
and run
./clear.py
And it bails with this
(pimoroni) pi@inkypi:~/Pimoroni/inky/examples/7color $ ./clear.py
Traceback (most recent call last):
File “/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/numpy/_core/init.py”, line 23, in
from . import multiarray
File “/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/numpy/_core/multiarray.py”, line 10, in
from . import overrides
File “/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/numpy/_core/overrides.py”, line 7, in
from numpy._core._multiarray_umath import (
ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory
(and another further exception in handling the exception too)
in fact, I eve get the above same exception traceback if I just fire up the python 3.11.2 repl and enter this one line :-
I also tried a fresh install of raspios image with desktop (not lite version this time) 2024-11-19.
The inky install works OK in that case but I still have issues with the examples.
The device overlay stuff was definitely done OK, and rebooted after.
But for example, when I run 7colors/clear.py I get this output…
(pimoroni) pi@raspberrypi:~/inky/examples/7color $ ./clear.py
Detected 7-Colour 800x480 (AC073TC1A)
/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_ac073tc1a.py:285: UserWarning: Busy Wait: Held high. Waiting for 1.00s
warnings.warn(“Busy Wait: Held high. Waiting for {:0.2f}s”.format(timeout))
/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_ac073tc1a.py:285: UserWarning: Busy Wait: Held high. Waiting for 0.40s
warnings.warn(“Busy Wait: Held high. Waiting for {:0.2f}s”.format(timeout))
/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_ac073tc1a.py:285: UserWarning: Busy Wait: Held high. Waiting for 45.00s
warnings.warn(“Busy Wait: Held high. Waiting for {:0.2f}s”.format(timeout))
and the inky screen flashes different colours at random intervals.
If I hit ctrl-C to stop it then the screen flashes for several more seconds before settling all white.
Any idea what is going wrong?
(and I am still puzzled why the install did not work on 2024-11-19-raspios-bookworm-armhf-lite.img)
The screen flashing different colours is part of the updating process for e-ink displays.
That’s what the 40 second refresh time listed on the store page entails, it is functioning as intended.
Mine has been working fine on Zero 2 W with the Lite install of Rasbian, 64-bit.
It has been a month since I set it up, so my memory might be failing me, but I don’t recall having to get extra libraries besides running the install bash