如何查看pycharm项目是否有fastapi

检查 Python 解释器设置(最直观)

Windows/Linux: File -> Settings -> Project: [你的项目名] -> Python Interpreter

使用终端命令(最准确)

pip show fastapi

在Terminal下载fastapi

pip install "fastapi[standard]"

    Logo

    腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

    更多推荐