You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently updated to python3 to begin using nflgame for the new season. I've tried following the initial set up directions running: python3 -m venv ~/python3 pip install nflgame-redux nflgame-update-players
When I run the last command, I get: Traceback (most recent call last): File "/Users/jachild/python3/bin/nflgame-update-players", line 4, in <module> nflgame.update_players.run() File "/Users/jachild/python3/lib/python3.6/site-packages/nflgame/update_players.py", line 360, in run phase = nflgame.live._cur_season_phase AttributeError: module 'nflgame.live' has no attribute '_cur_season_phase'
Is this a known issue? Should I be installing a different version?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I have the same issue-- I dug around in the site-packages/nflgame/update_players.py, and found that I could set the command nflgame-update-players --phase to three options: POST, PRE, and REG. However, all three fail with the same error as OP.
It seems that _cur_season_phase doesn't work when it's specified by the user.
Hi,
I recently updated to python3 to begin using nflgame for the new season. I've tried following the initial set up directions running:
python3 -m venv ~/python3
pip install nflgame-redux
nflgame-update-players
When I run the last command, I get:
Traceback (most recent call last):
File "/Users/jachild/python3/bin/nflgame-update-players", line 4, in <module>
nflgame.update_players.run()
File "/Users/jachild/python3/lib/python3.6/site-packages/nflgame/update_players.py", line 360, in run
phase = nflgame.live._cur_season_phase
AttributeError: module 'nflgame.live' has no attribute '_cur_season_phase'
Is this a known issue? Should I be installing a different version?
Thanks
The text was updated successfully, but these errors were encountered: