PyCharm Professional版には、FastAPIが備わっていて
FastAPIのプロジェクトを新規作成する時に便利ですが、
https://pleiades.io/help/pycharm/fastapi-project.html#coding-assistance
Community版を使っていると、以下に相当するインストールをすれば済みます。
pip install fastapi pip install "uvicorn[standard]"
PyCharm の設定画面で、、、
uvicorn は、「アッバーコーン」と呼ぶみたいで
ASGI(Asynchronous Server Gateway Interface):非同期のWebアプリケーションサーバインターフェース定義
https://www.uvicorn.org/
PyCharmの Run 設定は
普通の Python で
script path -> Module name にして uvicorn を選ぶ
main:app --reload --port 8000
だと思うんですが、
生成した FastAPI を uvicorn の run で起動するように書いて
PyCharm でそのまま実行すれば動きます。