Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,053 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using this repo: https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart
The repo includes a requirements.txt. I added an extra package to requirements.txt, pymongo.
When I deploy my app to a WebApp using the Azure extension in VSCode, the deployment fails, because pymongo was not installed.
flask==1.1.2
pymongo==3.11.3
pip install pymongo
This will install the pymongo package on the Web App, and your app should be able to use it.If the above suggestions do not work, reply to this message so we can assist you further.