MLB-LED-Scoreboard / mlb-led-scoreboard

An LED scoreboard for Major League Baseball :baseball:
GNU General Public License v3.0
590 stars 105 forks source link

Mlbgame module not recognized #380

Closed doug1234567 closed 2 years ago

doug1234567 commented 2 years ago

Hi there,

Haven't used the scoreboard since last season. Went to update by running sudo ./install/sh in the mlb-led-scoreboard file, received warning:

'WARNING: Skipping mlbgame as it is not installed.'

Tried to run 'sudo python3 main.py --led-gpio-mapping="adafruit-hat"', received error:

'ModuleNotFoundError: No module named 'mlbgame''

So I ran 'pip install mlbgame', received this message,

'Requirement already satisfied: lxml in /usr/local/lib/python3.7/site-packages (from mlbgame) (4.6.2)

Any advice?

Thanks!

pjockey commented 2 years ago

I would do a git pull prior to the install command. That way you will get all of the newest changes to the program.

They are using statapi instead of the mlbapi

ty-porter commented 2 years ago

Updating requires using git pull on the master branch prior to running the installer.

This project stopped using mlbgame in the 5.0 release so that dependency isn't something that's supported any further.

If you need help getting your installation updated to the latest release, this is a good resource in the README, or you might consider asking in the Slack channel.