Package written in requirements.txt is not installed in azure web app

Asked 2 years ago, Updated 2 years ago, 107 views

I am developing an application using Flask as a template on Azure's app service, but I deployed it after describing the module name I wanted to use in the requirements.txt that fell with me when I cloned it with git, but it didn't seem to work and they didn't install it.
I tried to use requests here, but as mentioned above, I couldn't use them because they didn't work.

Configure Python with Azure App Service Web Apps includes

Packages listed in requirements.txt are automatically installed in the virtual environment using pip.This happens for each deployment, but if the package is already installed, the installation will be skipped.

Therefore, I understand that only the push of git will automatically be installed from pypi.

Could someone please give me a solution?

python azure

2022-09-30 19:49

1 Answers

Apparently, a file called .skipPythonDeployment skips all Python-specific deployment procedures.
This time, I was able to solve this problem by deleting .skipPythonDeployment

Everything was written in here.
Resolved.


2022-09-30 19:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.