Event loop is closed
在 Windows 上似乎是 EventLoopPolicy 的问题,使用此代码段来解决它
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
asyncio.run(main())
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
asyncio.run(main())