Using a 8 digit 7 segment Max7219 display module and want to access it fro my python code by pressing buttons to change the display characters. It works when running from terminal SUDO, but from python I get an error,
"from luma.led_matrix.device import max7219
ImportError: No module named 'luma'"
I believe this is something to with root access although spi is in the 99.com file so it should work.
Any ides how to solve?