Open amahlaka opened 5 years ago
I had the same issue with python 3.7 and also solved it by using custom start up command.
I had this issue deploying via the az CLI and via VSCode.
For me the cause of the issue was that the deployment source was not set to Git.
Without the deployment source being Git, the requirements.txt aren't installed.
Follow instructions here to change deployment source to Git, if using VSCode:
Potentially a related issue, https://github.com/microsoft/Oryx/issues/557
Solution from the other thread, set app setting SCM_DO_BUILD_DURING_DEPLOYMENT=true. This way the app service does build automation for you when doing a ZIP deployment. See this for more info: https://docs.microsoft.com/en-us/azure/app-service/deploy-zip#deploy-zip-file-with-azure-cli
I had a similar issue. Asked for help here: https://docs.microsoft.com/en-us/answers/questions/28316/python-web-app-zip-deploy-fail.html
Should the requirements from requirements.txt be automatically installed when using python3.7 version of the container on my webapp? Whenever i try to depoly my project, nothing from the requirements.txt gets installed, i had to use a custom startup command to get the app to work