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
\GitHub\basketball_reference>python match_generator.py --league nba --seasons 2003-to-2017
Traceback (most recent call last):
File "match_generator.py", line 7, in
from nba import NbaBRefSeason
File "C:\Users\Bill\Documents\GitHub\basketball_reference\nba.py", line 6, in
from base import BRefMatch, BRefSeason
File "C:\Users\Bill\Documents\GitHub\basketball_reference\base.py", line 21, in
signal.signal(signal.SIGALRM, timeout_handler)
AttributeError: module 'signal' has no attribute 'SIGALRM'
I looked and it seems like I'm not the first person to run into this issue, but perhaps the first to run into it on this specific project. I found a fix for the same error on a similar project ( Unity-Technologies/ml-agents@4958f04 ) but I'm struggling to implement the work-around here.
The text was updated successfully, but these errors were encountered:
Well, I ended up running it on an Ubuntu VM on my Win10 machine. I've been running windows via BootCamp on various macs for so long now I guess this must have been obvious for some, but when I first considered it I didnt't think the python-levenshtein package wasn't compatible w linux ... anyways hope this may help someone down the road. Thank you to the original author for creating this great tool and sharing.
\GitHub\basketball_reference>python match_generator.py --league nba --seasons 2003-to-2017
Traceback (most recent call last):
File "match_generator.py", line 7, in
from nba import NbaBRefSeason
File "C:\Users\Bill\Documents\GitHub\basketball_reference\nba.py", line 6, in
from base import BRefMatch, BRefSeason
File "C:\Users\Bill\Documents\GitHub\basketball_reference\base.py", line 21, in
signal.signal(signal.SIGALRM, timeout_handler)
AttributeError: module 'signal' has no attribute 'SIGALRM'
I looked and it seems like I'm not the first person to run into this issue, but perhaps the first to run into it on this specific project. I found a fix for the same error on a similar project ( Unity-Technologies/ml-agents@4958f04 ) but I'm struggling to implement the work-around here.
The text was updated successfully, but these errors were encountered: