1. File "\lib\asyncio\events.py", line 553, in add_signal_handler raise NotImplementedError
参考issue,windows不支持signal,添加代码禁用
# _LOOP.add_signal_handler(signal.SIGTERM, _signal_handler)
try:
_LOOP.add_signal_handler(signal.SIGTERM, _signal_handler)
except NotImplementedError:
pass # Ignore if not implemented. Means this program is running in windows.