# Help with module rgbmatrix.core

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/help-with-module-rgbmatrix-core/1009>\
**Category:** Uncategorized\
**Created:** [January 31, 2025, 10:00am UTC](https://rpi-rgb-led-matrix.discourse.group/t/help-with-module-rgbmatrix-core/1009 "2025-01-31T10:00:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![weins3](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@weins3](https://rpi-rgb-led-matrix.discourse.group/u/weins3)\
**Post date:** [January 31, 2025, 10:00am UTC](https://rpi-rgb-led-matrix.discourse.group/t/help-with-module-rgbmatrix-core/1009/1 "2025-01-31T10:00:35Z")

</div>

Im so noob, i can exexute the examples of the rpi-rgb-led-matrix with success but when i trie execute with python i have this error:

kike@raspberrypi:~/rpi-rgb-led-matrix/bindings/python/samples $ sudo python runtext.py -D -m 0 --led-no-hardware-pulse --led-gpio-mapping=regular --led-slowdown-gpio=2 --led-rows=64 --led-cols=64 --led-chain=2  
Traceback (most recent call last):  
File “/home/kike/rpi-rgb-led-matrix/bindings/python/samples/runtext.py”, line 3, in   
from samplebase import SampleBase  
File “/home/kike/rpi-rgb-led-matrix/bindings/python/samples/samplebase.py”, line 7, in   
from rgbmatrix import RGBMatrix, RGBMatrixOptions  
File “/home/kike/rpi-rgb-led-matrix/bindings/python/rgbmatrix/ **init**.py”, line 7, in   
from .core import RGBMatrix, FrameCanvas, RGBMatrixOptions  
ModuleNotFoundError: No module named ‘rgbmatrix.core’  
kike@raspberrypi:~/rpi-rgb-led-matrix/bindings/python/samples $

Someone can help me? I look for in google and i cant solve.

So ty for the help

---

<div class="post-metadata">

**Author:** ![weins3](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@weins3](https://rpi-rgb-led-matrix.discourse.group/u/weins3)\
**Post date:** [January 31, 2025, 10:45am UTC](https://rpi-rgb-led-matrix.discourse.group/t/help-with-module-rgbmatrix-core/1009/2 "2025-01-31T10:45:36Z")

</div>

add this if help:

 ![imagen](https://global.discourse-cdn.com/free1/uploads/rpi_rgb_led_matrix/original/1X/83560123c80e5dc4a2bf20339afacc345ce382d1.png)

---

<div class="post-metadata">

**Author:** ![weins3](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@weins3](https://rpi-rgb-led-matrix.discourse.group/u/weins3)\
**Post date:** [February 1, 2025, 3:50pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/help-with-module-rgbmatrix-core/1009/3 "2025-02-01T15:50:52Z")

</div>

if help, i give sucess with the folows steps  
new imagem do raspbian  
after only this  
sudo apt-get update  
sudo apt-get upgrade

and visit this url

> **[Adafruit RGB Matrix + Real Time Clock HAT for Raspberry Pi](https://learn.adafruit.com/adafruit-rgb-matrix-plus-real-time-clock-hat-for-raspberry-pi/driving-matrices#step-2982421)**
>
> You can now create a dazzling display with your Raspberry Pi with the Adafruit RGB Matrix HAT. This HAT plugs into your Pi and makes it super easy to control RGB matrices such as those we stock in the shop and create a colorful scrolling display or...

execute this  
curl [https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/main/rgb-matrix.sh](https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/main/rgb-matrix.sh) \>rgb-matrix.sh  
sudo bash rgb-matrix.sh  
appear in the web

with  
y  
2  
2  
y  
cd . /rpi-rgb-led-matrix/bindings/python/samples

i have 2 panels 64x64 with this board  
[https://www.electrodragon.com/product/rgb-matrix-panel-drive-board-raspberry-pi/](https://www.electrodragon.com/product/rgb-matrix-panel-drive-board-raspberry-pi/)  
and execute this  
sudo python image-scroller.py -r 64 --led-cols 64 -m regular --led-no-hardware-pulse 0 -c 2  
and done, works for me  
-r rows  
-c num panels  
-m {regular,regular-pi1,adafruit-hat,adafruit-hat-pwm}

---

<div class="post-metadata">

**Author:** ![schmidt486](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@schmidt486](https://rpi-rgb-led-matrix.discourse.group/u/schmidt486)\
**Post date:** [February 16, 2025, 1:17pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/help-with-module-rgbmatrix-core/1009/4 "2025-02-16T13:17:34Z")

</div>

Some here might frown upon this answer, but I’ve found ChatGPT to be very helpful in diagnosing errors and troubleshooting. I had similar issues with the rgbmatrix.core and through lots of trial and error got it sorted, but I am unable to tell you exactly how I solved it because I made lots of different attempts.
