解决python3.6运行uvicorn报错AttributeError: module ‘asyncio‘ has no attribute ‘run‘

完整报错为:AttributeError: module 'asyncio' has no attribute 'run'

解决方法
pip uninstall uvicorn
pip install uvicorn==0.16.0

pypi地址:https://pypi.org/project/uvicorn/

 
posted @ 2023-05-18 12:15  海_纳百川  阅读(328)  评论(0编辑  收藏  举报
本站总访问量