Hi folks,
I have a Swagger (web app) written in Python.
When I run the Fast API Python Debugger in Visual Studio Code. It throws following error:
File "/Users/<path_to_my_project>/venv/lib/python3.11/site-packages/sqlalchemy/dialects/mysql/pymysql.py", line 75, in import_dbapi
return import("pymysql")
^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pymysql'
On the other hand, when I execute uvicorn app.main:app --reload from the integrated VS Code terminal, then my app is successfully running. Most likely there is an issue in configuration of my Fast API Python Debugger, or maybe it's the bug?