完整报错为:AttributeError: module 'asyncio' has no attribute 'run' 解决方法 pip uninstall uvicorn pip install uvicorn==0.16.0 pypi地址:https://pypi.org/project/uvicorn/