"Illegal Instruction" error
See original GitHub issueType of Raspberry Pi
PiZero W
Linux Kernel version
Linux raspberrypi 5.10.63+ #1459 Wed Oct 6 16:40:27 BST 2021 armv6l GNU/Linux
Expected behaviour
I would expect python3 to not terminate when I run the command
from luma.led_matrix.device import max7219
Actual behaviour
pi@raspberrypi:~/luma.led_matrix/examples $ python3
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from luma.led_matrix.device import max7219
Illegal instruction
pi@raspberrypi:~/luma.led_matrix/examples $ echo $?
132
pi@raspberrypi:~/luma.led_matrix/examples $
Output of pip3 list
Package Version
--------------- ---------
cbor2 5.4.2
certifi 2020.6.20
chardet 4.0.0
colorzero 1.1
Deprecated 1.2.13
distro 1.5.0
gpiozero 1.6.2
idna 2.10
luma.core 2.3.1
luma.led-matrix 1.5.0
Pillow 9.0.0
pip 20.3.4
pyftdi 0.53.3
pyserial 3.5
python-apt 2.2.1
pyusb 1.2.1
requests 2.25.1
RPi.GPIO 0.7.0
setuptools 52.0.0
six 1.16.0
smbus2 0.4.1
spidev 3.5
ssh-import-id 5.10
urllib3 1.26.5
wheel 0.34.2
wrapt 1.13.3
When running from PIL import Image
I get the same error
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
I keep getting Illegal Instruction errors. What do I do?
Illegal Instruction errors occur when you try to run a program that was compiled with some processor-specific optimizations, ...
Read more >What is an 'illegal instruction' error in C++?
Illegal instruction errors don't come from C++, they come instead from the operating system. They arise because not every possible memory value corresponds ......
Read more >Error code: Status illegal instruction
It happens a lot lately and is very annoying. So, while i'm watching a video, the page stops working and the message "oops...
Read more >Fixing illegal instruction issues - ParabolaWiki
1 Introduction. Sometimes, running a program results in a crash, and a message about illegal instruction(s). Here's an example from the bug ...
Read more >How to Resolve The Error “Illegal instruction (core dumped ...
In brief, the error will be thrown if we're running recent TensorFlow binaries on CPU(s) that do not support Advanced Vector Extensions (AVX), ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I observed the same error that @ianglennon described so well. I ran pip install “Pillow==8.4.0” as suggested. This fixes the problem. 👍
THIS IS NOT THE SAME ERROR! IT IS NOT EVEN THE SAME RPI!
I’m done.