I realized that even though I had the virtual environment activated, it was looking for packages in the global 3.11 environment. The solution was to run the project as follows:
3.11
python -m uvicorn main:ia --port 8000 --reload