Can not run Python demo

I connect Raspberry Pi with RGB matrix using ada fruit Bonnet, and tried to run runtext.py

sudo ./bindings/python/samples/runtext.py --led-rows=16 --led-cols=32 --led-chain=4

I got this error

File "/home/afc/rpi-rgb-led-matrix/bindings/python/rgbmatrix/__init__.py", line 7, in <module>
    from .core import RGBMatrix, FrameCanvas, RGBMatrixOptions
ModuleNotFoundError: No module named 'rgbmatrix.core'

I researched and found some post recommend to install python in the rgi matrix directory, following the instruction in README file


sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
make build-python PYTHON=$(command -v python3)
sudo make install-python PYTHON=$(command -v python3)

then I ran into this error

make[2]: Leaving directory '/home/afc/rpi-rgb-led-matrix/lib'
/usr/bin/python3 setup.py build --build-lib .
rgbmatrix/core.cpp:198:12: fatal error: longintrepr.h: No such file or directory
  198 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
compilation terminated.

I found that it’s a bug in Cython. but I have no idea how to deal with it. any help would be appreciated.