Skip to content
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

ModuleNotFoundError: No module named 'nfl_api_parser' #42

Open
Jordinho opened this issue Dec 31, 2021 · 1 comment
Open

ModuleNotFoundError: No module named 'nfl_api_parser' #42

Jordinho opened this issue Dec 31, 2021 · 1 comment

Comments

@Jordinho
Copy link

For some reason it seems like data.py isn't able to import nfl_api_parser when I run main.py

I have installed the NHL and other programs like this before and not had an issue. Have you seen this before?

sudo python main.py --led-gpio-mapping=ada fruit-hat-pwm --led-brightness=60 --led-slowdown-gpio=2
/home/pi/nfl-led-scoreboard/renderer/main.py:365: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while x is not 3:
/home/pi/nfl-led-scoreboard/renderer/main.py:377: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while x is not 3:
/home/pi/nfl-led-scoreboard/renderer/main.py:398: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while x is not 3:
Traceback (most recent call last):
File "/home/pi/nfl-led-scoreboard/main.py", line 6, in
from data.data import Data
File "/home/pi/nfl-led-scoreboard/data/data.py", line 3, in
import nfl_api_parser as nflparser
ModuleNotFoundError: No module named 'nfl_api_parser'

@MedizinPumPer
Copy link

go to "data"->"data.py" and add "data." before the nfl_api_parser that it looks like "data.nfl_api_parser"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants