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

timeout error on win10 due to use of sigal.SIGALRM #7

Closed
wildbill9188 opened this issue Dec 30, 2017 · 1 comment
Closed

timeout error on win10 due to use of sigal.SIGALRM #7

wildbill9188 opened this issue Dec 30, 2017 · 1 comment

Comments

@wildbill9188
Copy link

\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.

@wildbill9188
Copy link
Author

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.

Thanks again,
wildBill

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

1 participant