No module named luma.led.matrix.device
See original GitHub issueI’ll start by apologising, I’m new to python and raspberry pi. I have very limited programming experience from when I used to mess around with some things a few years ago but mostly forgotten.
I’m trying to program an array of 4 8x8 LED matrices to display crypto currency prices. Right now Im stuck on the basics
I’ve cloned the repository, and when I try to run
$ python examples/matrix_demo.py
i get hit with
Traceback (most recent call last):
File "examples/matrix_demo.py", line 10, in <module>
from luma.led_matrix.device import max7219
ImportError: No module named luma.led_matrix.device
My pip version is 9.0.1 and python version 2.7
I’ve been trying to figure out why its happening but I really dont know Please help 😦
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'luma.led_matrix'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'luma.led_matrix' How to remove the Mo.
Read more >error with luma.led_matrix - Raspberry Pi Forums
This is driving me nuts! I am trying to setup the environment for my led modules Max7219 but every time I try I...
Read more >luma.led-matrix - PyPI
Version Description Date
1.6.1 Trigger publish on github actions 2022/01/09
1.6.0 Remove redundant ws2812 package 2022/01/03
1.4.1 Make contrast an optional constructor argument 2019/12/08
Read more >Installation - Luma.LED_Matrix - Read the Docs
If you have no /dev/spi files and nothing is showing using lsmod then this implies the kernel SPI driver is not loaded. Enable...
Read more >8 x 8 LED array driven by max7219 on the Raspberry Pi via ...
I could not find enough data on the device to answer that. ... Going a little nuts here: I get a “No module...
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
@boringtrousers - see comment https://github.com/rm-hull/luma.examples/issues/24#issuecomment-379677387 - maybe a force reinstall will work for you?
Obviously the package would be different:
Thank you, I saw your comment but I haven’t been able to try this for the past couple of weeks, as I have been away. Just tried force reinstalling and it fixed the problem. Thanks a lot