一、环境: 1、第3方库:fastapi,安装:pip install fastapi 2、asgi的服务器:uvicorn,安装:pip install uvicorn 3、Python环境要求:python版本要求3.6+