-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MLBStats and RGB-Matrix not installing correctly. #549
Comments
did you install the rgb matrix from within the mlb-led-scoreboard directory? i'm having the same problem. statsAPI did not install on 32 bit, but seems to have installed ok on 64 bit. |
I ended up running in the MLB-Scoreboard directory and it installed the statsapi. I did have to install the rgbmatrix from a different directory (as the install for the mlb-scoreboard already tried to install it). |
do you have the command you used to install the rgb matrix adafruit script? i assume i'm looking for it to target the mlb-led-scoreboard/matrix directory? |
https://learn.adafruit.com/adafruit-rgb-matrix-bonnet-for-raspberry-pi/driving-matrices |
I'm having issues following the steps above, but it seems to mostly be due to permissions issues on the rpi4. After I do a clean download of the Mlb-led-scoreboard when I try to do 'pip3 install pipreqs --break-system-packages' I get an ESError: [Errno 13] error stating that the permission was denied. Is the rpi4 misconfigured or should I be doing all of this in a virtual environment? Thanks for the help. |
Did you try it sudo in front of the command? |
Putting Sudo in front of the command got it to work, however, I'm still having issues getting the script to work. I downloaded the rbg-matrix via the code script Mcangeli shared. I verified it worked by navigating to mlb-led-scoreboard/submodules/matrix/examples-api-use and running the demo code. With this, the LED screen works perfectly on the examples. When I navigate back to the mlb-led-scoreboard folder and run: |
Thank you for sharing that. Looking at my file system, I'm seeing the below files. It looks like I'm missing some folders, like bin, lib, share, include and the pyvenv.cfg file. My file system also seems to include rgb-matrix.sh. Is it possible I installed the rgb-matrix into the wrong location? |
This issue is a
Hardware Configuration
Raspi 4B 2gb
Adafruit RGB Matrix Bonnet
64x32 RGB LED Matrix
(The suggested BOL)
Software Configuration
Raspberrypi Bookworm fresh install
MLB Scoreboard fresh install
On a fresh install it appears that the MLB StatsAPI and the RGB Matrix are not installed correctly. I was able to get the stats installed, however I had to install the RGB Matrix with the install script from adafruit (which works really well).
However, now I have to use: sudo python main.py --led-rows=32 --led-cols=64 --led-gpio-mapping=adafruit-hat
to start the board.
The text was updated successfully, but these errors were encountered: