Closed Sebwap closed 1 year ago
Update: problem occurs when I import the lib:
pi@pizerowh:~ $ python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import displayhatmini
Illegal instruction
pi@pizerowh:~ $
Try:
import spidev
and
import RPi.GPIO
Individually, since the displayhatmini library does not include any C code that could fail with this error.
Basically "Illegal Instruction" is what happens when you try to load code incompatible with your architecture. I'm not sure how it might have come to be installed in the first place, but a good start would be to find out which package is exploding.
Thanks for your reply. Indeed, the problem doesn't seem to be related to displayhatmini specifically.
I will try to find the guilty library tonight.
A downgrade from Pillow 9.0.0 to Pillow 8.4.0 solve partially the problem. psutil is still not working, I suppose I have to get another old version of it.
Well it seem that Pillow 9 and psutil 5.9 are not yet compatible with Raspbian bullseye on zero at least :/
Hello there,
Since a few day, I'v got an "Illegal Instruction" return with all my scripts using displayhatmini library. It's exactly the same with provided examples.
All my python pacakges are up to date.
Any idea ?