Hello, friend!
AttributeError: Python signal: Module 'signal' has no attribute 'SIGALRM' ", this is because the Signal module can be used normally under Linux but has some limitations under Windows, In the python documentation https://docs.python.org/2/library/signal.html#signal.signal found explained as follows:
"On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, or SIGTERM. A ValueError will be raised in any other case."
This means that under Windows, only these signals can be used:
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
Have a nice day!