安装nest_asyncio pip install nest_asyncio 导入并调用 import nest_asyncio nest_asyncio.apply() 转载于:https://www.cnblogs.com/hankleo/p/11419485.html